http://www.perlmonks.org?node_id=976121


in reply to Re^2: Perl upgrade
in thread Perl upgrade

Hi Monks..

Please forgive me for my unawareness as I am novice.Actually in my application bundled Perl , Path( lib, site , bin etc) are in different directory... What I did right now I installed Perl on my machine and copied it into my application correct directory ( as lib in <app>/perl5/lib )...

But I am having problem in installing module...can't run cpan from this extracted perl

Please any advise..

Replies are listed 'Best First'.
Re^4: Perl upgrade
by Ralesk (Pilgrim) on Jun 14, 2012 at 06:36 UTC

    When installing Perl with perlbrew, make sure you read the documentation on how to switch between the system Perl and the brewed one. Once you execute the command to switch to the installed, new Perl, the cpan command should install things in that tree. Especially cpanm, which I don’t think you have installed for the system Perl anyway.