Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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/MyConfig.pm 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


Comment on Re: Installing Perl modules locally
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2015-07-29 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls