oruse lib './somepath/';
or why not just let the user set his/her PERL5LIB environment variable?BEGIN { my $path = 'somepath'; push @INC, $path; }
In reply to Re^3: ADD directory to @INC using a string variable
by Anonymous Monk
in thread ADD directory to @INC using a string variable
by sid9559
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |