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

Does anyone know of any best practices in regards to this?
You really needn't worry, all CORE modules available as separate downloads on CPAN already know how to get installed in lib instead of site/lib :)
  • Comment on Re: Upgrading Core Modules Using CPAN - Best Practice?

Replies are listed 'Best First'.
Re^2: Upgrading Core Modules Using CPAN - Best Practice?
by stocks29 (Acolyte) on Oct 03, 2008 at 14:46 UTC
    You really needn't worry, all CORE modules available as separate downloads on CPAN already know how to get installed in lib instead of site/lib :)

    That is what I thought too, but then why did I end up with two versions of some modules installed when upgrading from CPAN?

    /usr/local/perl5.8.6/lib/5.8.6/sun4-solaris/Errno.pm (core: 1.09_00) /usr/local/perl5.8.6/lib/site_perl/5.8.6/Errno.pm (cpan: 1.10)
      Congratulations, you've found a bug, report it to whomever put Errno on cpan :)