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.


In reply to @INC by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.