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

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I've recently upgraded perl from 5.12 (installed from RPM) to 5.14.1 (installed through CPAN).

Since the change, /usr/lib/perl5 and its subdirectories are no longer in my @INC, so half my scripts die because they can't find certain modules ... but if I try to install those modules, CPAN says they're still there.

So, what's the simplest (safe) way to either

  1. Find out where CPAN thinks all my modules are and copy them over
  2. OR
  3. Make CPAN reinstall latest versions of all the modules it thinks I've already got

?