Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: CPAN when not root

by Nitrox (Chaplain)
on Dec 12, 2005 at 16:29 UTC ( #516047=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://516047]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2021-09-20 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?