http://qs321.pair.com?node_id=889733


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";