Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Use cpanm and local::lib

by dolmen (Beadle)
on Sep 11, 2013 at 14:55 UTC ( #1053505=note: print w/replies, xml ) Need Help??


in reply to Installing CPAN without root access

Bootstrap:
$ PATH="$PATH:~/perl5/bin" $ export PERL5LIB=~/perl5/lib/perl5 $ export PERL_MB_OPT="--install_base '$HOME/perl5'" $ export PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" $ curl -L http://cpanmin.us | perl - -l ~/perl5 App::cpanminus local:: +lib
Then adapt your .profile for local::lib and cpanm by adding this line:
eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)
Now you can just do: cpanm any-module

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053505]
help
Chatterbox?
[1nickt]: chacham I have wanted to, and dones so, and so stated in a reply, and been roundly downvoted 2-1. (I assume for attempting to censor.)
[1nickt]: pryrt yes, I see. There is no way to differentiate without forcing to a string and all sort of weird stuff. It is enough. User 42 can get creative if s/he wishes.

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-05-24 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?