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
In reply to Re^2: use lib qw(relative path)
by amonroy
in thread use lib qw(relative path)
by ccn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |