Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: CPAN when not root

by Nitrox (Chaplain)
on Dec 12, 2005 at 16:29 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-03-28 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found