The version number 1.61 is not especially helpful. That's the version number of the App::Cpan module, but there have been several releases of the CPAN distribution that include the same version of the App::Cpan module. (The CPAN distribution is quite annoying in that each of its internal modules has its own completely independent version numbering system. With most multi-module distributions, people tend to keep the version numbers for each module synchronized.) You can find out what version of the CPAN distribution you have using:

perl -MCPAN -E'say $CPAN::VERSION'

But anyway, it looks like your CPAN version is new enough for you to need a more recent version of CPAN::Meta::Requirements than the one you have. You can find out what version of CPAN::Meta::Requirements you have like this:

perl -MCPAN::Meta::Requirements -E'say $CPAN::Meta::Requirements::VERS +ION'

I'd recommend installing an up to date copy of CPAN::Meta::Requirements. But how to do that if your CPAN client is broken?

Download the archive, then run:

tar zxfv CPAN-Meta-Requirements-2.125.tar.gz cd CPAN-Meta-Requirements-2.125 perl Makefile.PL make all make test && sudo make install

Also, you should clear your build directory. This will solve the "unwrapped" problem.

rm -fr ~/.cpan/build/

Hopefully that will fix everything.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

In reply to Re: Broken cpan by tobyink
in thread Broken cpan by halfcountplus

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.