Man, im here to tell ya, nothing ever goes the way I want it when upgrading. Here's the scoop:

I was installing a few modules and CPAN told me there was a new version and to run an upgrade for "Bundle::CPAN" which I did. Well, it appears (which is now known to me) that the bundle actually upgrades perl... I was running 5.005 so I was due to upgrade anyways. Well, it did it's thing which took like an hour in which it installed quite a few modules, and then upgraded perl itself.

The kicker now is that when I try to read the docs on a module, I get an error from perldoc and honestly dont have a clue how to fix this and im getting quite pissed off. Here is the error:

oakserver:/usr/local/lib/perl5/5.6.1# perldoc Net::Telnet syntax error at warnings.pm line 306, near "{^" syntax error at warnings.pm line 311, near "{^" BEGIN failed--compilation aborted at /usr/local/bin/perldoc line 5. oakserver:/usr/local/lib/perl5/5.6.1#

Another "fun" issue is that if I am not in the actual base directory for the modules, and then I run perldoc on something, I get an error as well:

oakserver:~# perldoc Net::Telnet Can't locate warnings.pm in @INC (@INC contains: /usr/lib/perl5/5.005/ +i386-linux /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/ +perl5 .) at /usr/local/bin/perldoc line 5. BEGIN failed--compilation aborted at /usr/local/bin/perldoc line 5. oakserver:~#

Uuhhh... why didnt it change @INC when it did the install? Why is perldoc breaking now overall? Anyone know what the heck I did and how I go about fixing these problems? Im dyin here....

Thanks in advance

-oakley
Embracing insanity - one twitch at a time >:)

In reply to install of perl 5.6.1 and new issues by oakley

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.