in reply to Re: use lib qw(relative path)
in thread use lib qw(relative path)
Another thing you could try is:
BEGIN{ use File::Basename; use File::Spec; my $dir = File::Spec->rel2abs(dirname($0)); die "Cannot relocate '$dir'.\n" unless(chdir($dir)); } use lib './lib';
Regards,
--
-Andrés Monroy-Hernández
|
|---|