I use lib with that sort of thing all the time by going through a variable...
my $rundir; BEGIN { use File::Basename; $rundir = dirname($0); } use lib "$rundir/lib";
In reply to Re: adding library directories relative to $0
by fullermd
in thread adding library directories relative to $0
by perl5ever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |