in reply to adding library directories relative to $0
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 Section
Seekers of Perl Wisdom