I was able to install local::lib in my home directory,
Did you set up the environment variables as described in the local::lib docs? For example, for bash, the docs suggest: echo 'eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"' >>~/.bashrc
Note that you have to log out and log back in once for this to take effect.
but don't have cpanm
Did you try the installation command I showed from the App::cpanminus docs (after setting up the environment vars)? That is: curl -L https://cpanmin.us | perl - App::cpanminus
In reply to Re^3: How to install Perl modules locally on Unix?
by haukex
in thread How to install Perl modules locally on Unix?
by slugger415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |