in reply to [Solved]: How to install modules for local perl without changing anything on system perl?

It worked when I tried /opt/apps/perl/perl5220/bin/cpan -i App::cpanminus and installed the module under /opt/apps/perl/perl5220/

Somehow it didn't work when I tried /opt/apps/perl/perl5220/bin/perl -MCPAN -e shell and then cpan[1]> install cpanm as mentioned in the documentation of cpanm. Gave "Warning: Cannot install cpanm, don't know what it is." But I am good to go now so updated title of post as resolved.

Thank you for all your inputs.

  • Comment on Re: [Solved]: How to install modules for local perl without changing anything on system perl?
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: [Solved]: How to install modules for local perl without changing anything on system perl?
by choroba (Cardinal) on Dec 25, 2015 at 15:50 UTC
    as mentioned in the documentation of cpanm
    Where did you find it? See INSTALLATION.
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,