is basically a no-op (unless you're root, where that's removed).use lib '.';
If your intent is to add the directory of the module/script to the @INC path, that's definitely not going to do it. You'll need something more like:
use File::Basename qw(dirname); use lib dirname(__FILE__);
In reply to Re: Perl too smart require()ing libs
by merlyn
in thread Perl too smart require()ing libs
by clscott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |