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

It all started with a failed attempt via CPAN to 'install Bundle::CPAN'. Unbeknownst to me it also (divinely?) decided to update perl from 5.6.0 to 5.6.1. The failure was actually and unfortunately the perl update during compile.

Since then I've moved all 5.6.0 directories and files to an out of the way location and used CPAN to 'force install CPAN::FirstTime'. This install of 5.6.1 completed without errors, however @INC still has references to 5.6.0. Here's a sample error:

Can't locate Time/CTime.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/i586-linux /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i586-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at ./H-tracker.pl.102 line 7.

Here's a snippet of the 'FirstTime' installation -- note there is no mention of 5.6.0 here:

======

Pathname for the site-specific architecture-dependent library files? (~name ok) /usr/local/lib/perl5/site_perl/5.6.1/i586-linux

The installation process will also create a directory for vendor-supplied add-ons. Vendors who supply perl with their system may find it convenient to place all vendor-supplied files in this directory rather than in the main distribution directory. This will ease upgrades between binary-compatible maintenance versions of perl.

Of course you may also use these directories in whatever way you see fit. For example, you might use them to access modules shared over a company-wide network.

The default answer should be fine for most people. This causes further questions about vendor add-ons to be skipped and no vendor-specific directories will be configured for perl.

Do you want to configure vendor-specifc add-on directories? n

Lastly, you can have perl look in other directories for extensions and modules in addition to those already specified. These directories will be searched after /usr/local/lib/perl5/site_perl/5.6.1/i586-linux /usr/local/lib/perl5/site_perl/5.6.1

Enter a colon-separated set of extra paths to include in perl's @INC search path, or enter 'none' for no extra paths.

Colon-separated list of additional directories for perl to search? none

=====

So, my question is: Why is 5.6.0 still referenced in @INC and more importantly, how do I fix it? Many thanks for perls of wisdom.