in reply to Re: Upgrading Core Modules Using CPAN - Best Practice?
in thread Upgrading Core Modules Using CPAN - Best Practice?

In the cpan shell, type the following command with the specific path where you need to update the core modules cpan> o conf makepl_arg PREFIX='<dir path>' cpan> o conf commit Default lib path will be changed after this command.. Lemme know if it works
  • Comment on Re^2: Upgrading Core Modules Using CPAN - Best Practice?

Replies are listed 'Best First'.
Re^3: Upgrading Core Modules Using CPAN - Best Practice?
by stocks29 (Acolyte) on Oct 03, 2008 at 14:57 UTC

    Getting the modules into the PREFIX path is not the problem. It is ensuring that the modules is installed in the correction location w/in the PREFIX path that is the problem:

    PREFIX=/usr/local/perl5.8.6
    /usr/local/perl5.8.6/lib/5.8.6/sun4-solaris/Errno.pm (core) /usr/local/perl5.8.6/lib/site_perl/5.8.6/Errno.pm (cpan)