or you can add it to your @INC path:BEGIN { push @INC, '/root/perl5/lib/perl5'; }
That's nearly exactly what use lib does: See lib. (use lib unshifts, i.e. the extra directory is searched first, not last.)
Alexander
In reply to Re^2: "Cannot find location"
by afoken
in thread "Cannot find location"
by natol44
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |