Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Installing Perl modules locally

by tall_man (Parson)
on Apr 06, 2005 at 23:00 UTC ( #445472=note: print w/replies, xml ) Need Help??

in reply to Installing Perl modules locally

If you find you will need to install many modules, setting up your own $HOME/.cpan/CPAN/ might be worthwhile.

You will need to touch entries like the following:

'build_dir' => q[/home/me/.cpan/build], 'cpan_home' => q[/home/me/.cpan], 'keep_source_where' => q[/home/me/.cpan/sources], 'makepl_arg' => q[LIB=/home/me/myperl/lib INSTALLMAN1DIR=/home/me/my +perl/man/man1 INSTALLMAN3DIR=/home/me/myperl/man/man3],

Once you have done this, you will be able to install modules easily using:

perl -MCPAN -e shell install Net::NetSend

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2016-10-26 05:55 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (336 votes). Check out past polls.