in reply to Re^2: ExtUtils::MakeMaker PREFIX and LIB
in thread ExtUtils::MakeMaker PREFIX and LIB

I see. You shouldn't need to worry about that, but you could solve it with something like this (in your program)
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;
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.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.