You're right that some mirrors contain more files than others, and it's probably a configuration issue; for rsync, for example, one would have to enable the --delete flag.

It's important to distinguish the CPAN.pm/CPANPLUS.pm tools from the CPAN/PAUSE indices living under $CPAN/authors/ and $CPAN/modules/; the tools are just following what's in the indices, and so aren't "broken" in this respect. As you say, it would be possible to go through all distributions on CPAN, extract out the included modules, and make up a set of indices containing the latest versions, irrespective of who the owner is according to the CPAN/PAUSE indices (search.cpan.org does this, to an extent). However, using such a set of indices to install a module with CPAN/CPANPLUS would break the fundamental assumption of unique module names, and would lead to a situation whereby, for example, one author can overwrite another author's module just by uploading a later version to CPAN. There are plans in perl6 to address this - see, for example, CPAN, Perl6, and module versioning - but for now, module ownership/co-ownership is a safeguard put in place to prevent such a situation.


In reply to Re^3: howto install modules by randyk
in thread howto install modules by powerman

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.