If a user is intelligent enough to make use of the PREFIX argument, he should be intelligent enough to make use of PERL5LIB, definetly something you shouldn't worry about.my $lib; BEGIN { my $bin = '$PREFIX/bin'; $bin =~ s~bin$~~; $lib = $Config::Config{sitelib}; $lib =~ s~^\Q$Config::Config{siteprefix}\E~$bin~; } use lib $lib;
In reply to Re^3: ExtUtils::MakeMaker PREFIX and LIB
by PodMaster
in thread ExtUtils::MakeMaker PREFIX and LIB
by eXile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |