in reply to Utility of "use lib qw{ . }" ?
. will be the last element of @INC which means that all though it will always be checked, it will be the last path checked for any modules.
if you call
if you call
. will be unshifted onto the front of @INC which means it will be checked first so you know that any modules in the current path will take precedence.use lib '.';
|
---|
Replies are listed 'Best First'. | |
---|---|
(jeffa) 2Re: Utility of "use lib qw{ . }" ?
by jeffa (Bishop) on Jun 23, 2003 at 14:30 UTC |
In Section
Seekers of Perl Wisdom