in reply to PERL5LIB different than 'use lib'
For each directory in LIST (called $dir here) the lib module also checks to see if a directory called $dir/$archname/auto exists. If so the $dir/$archname directory is assumed to be a corresponding architecture specific directory and is added to @INC in front of $dir.If there is a subdirectory named "auto", then use lib seems to behave more like PERL5LIB in that it will also search in the architecture-dependent subdirectory for your module.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PERL5LIB different than 'use lib'
by almut (Canon) on May 07, 2009 at 03:01 UTC | |
by tilly (Archbishop) on May 07, 2009 at 23:30 UTC | |
by almut (Canon) on May 08, 2009 at 09:53 UTC | |
by tilly (Archbishop) on May 08, 2009 at 13:58 UTC | |
by almut (Canon) on May 08, 2009 at 14:34 UTC |