From @INC, it looks like you are dealing with the system installation of perl, which was probably installed as a package as part of your system. With some parts installed from packages and others installed from CPAN, it is possible to make your installation dysfunctional.

You could try re-installing system packages to bring things back to a consistent state, after which you might abstain from installing to the system perl from cpan until you have learned enough to deal with the problems that sometimes occur. If you can, install everything you need from your system's distribution packages.

If you need modules from CPAN that are not available from your system distribution, you might do best to put a separate installation of perl on your server, to avoid conflicts with the system installation. You could install a more current version of perl, which would also help you avoid problems with new CPAN releases that don't work well on such an old version of perl.

Installing perl from source is not very difficult, but can be overwhelming if your system does not yet have prerequisites (compiler, make, libraries, etc.), particularly if this is unfamiliar to you. If you are interested in such things, it might be a good learning experience for you. Otherwise, you might be able to get someone familiar with installing perl to help you.

If this is a production server ("on-line" suggests it is), you would do well to practice installing on a less critical system, until you are confident you know how to do it successfully.


In reply to Re: cpan suddenly fails by ig
in thread cpan suddenly fails by glendeni

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.