Actually, this was a typo in my post.

Below is the full output of the command.

# cpan -i Log::Log4perl CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Thu, 16 Jul 2009 15:27:04 GMT Going to read /root/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok Going to read /root/.cpan/sources/modules/02packages.details.txt.gz Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz do +es not contain a Line-Count header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz do +es not contain a Last-Updated header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. Going to read /root/.cpan/sources/modules/03modlist.data.gz Can't locate object method "data" via package "CPAN::Modulelist" (perh +aps you forgot to load "CPAN::Modulelist"?) at (eval 20) line 1, <FH> + line 20. at /usr/lib/perl5/5.8.8/CPAN.pm line 3405 CPAN::Index::rd_modlist('CPAN::Index', '/root/.cpan/sources/mo +dules/03modlist.data.gz') called at /usr/lib/perl5/5.8.8/CPAN.pm line + 3128 CPAN::Index::reload('CPAN::Index') called at /usr/lib/perl5/5. +8.8/CPAN.pm line 675 CPAN::exists('CPAN=HASH(0x9c77f50)', 'CPAN::Module', 'Log::Log +4perl') called at /usr/lib/perl5/5.8.8/CPAN.pm line 1841 CPAN::Shell::expandany('CPAN::Shell', 'Log::Log4perl') called +at /usr/lib/perl5/5.8.8/CPAN.pm line 2077 CPAN::Shell::rematein('CPAN::Shell', 'install', 'Log::Log4perl +') called at /usr/lib/perl5/5.8.8/CPAN.pm line 2164 CPAN::Shell::install('CPAN::Shell', 'Log::Log4perl') called at + /usr/bin/cpan line 202


In reply to Re^2: CPAN install module error by staszeko
in thread CPAN install module error by staszeko

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.