http://qs1969.pair.com?node_id=516047


in reply to CPAN when not root

Here's what I set in my CPAN config:
LIB=/var/webeng/lib/perl PREFIX=/var/webeng/lib/perl
and this is what I export before installing new modules (so CPAN knows whats already installed):
export PERL5LIB=/var/webeng/lib/perl
And finally, this is what I add to my code to use the "private" modules:
use lib qw(/var/webeng/lib/perl);

-Nitrox