in reply to Re^2: add remote dir to @INC
in thread add remote dir to @INC

ok I got somewhere... maybe you can give me a hand here... when searching for modules "how deep" does perl descend? What happened to me that when I added to INC the whole remote modules folder but when I added site_perl folder (which was descended kinda deep in modules) it started working... Any way to make sure it does a complete recursive search?

Replies are listed 'Best First'.
Re^4: add remote dir to @INC
by toolic (Bishop) on May 25, 2011 at 18:52 UTC
    It does not recursively descend through the @INC directories. Read require (which is called by use). There is a slight exception when you use lib (see the 'auto' directory).