Thanks for example how to install Conway's version.

But I still see a problem: it's not obvious way to install just last version of Smart::Comments - to use CPAN.pm this way I first should hit this issue and found author and last version for needed modules manually... this mean CPAN.pm doesn't work in right way and don't do it's primary task (automatically install needed module from CPAN). This mean CPAN.pm and CPANPLUS.pm are not reliable tools. :-(

I just did some reasearch on this topic and found this:

This in turn mean CPAN.pm not only try to install incorrect version, but also it found incorrectly configured mirror to download file deleted from main CPAN site... this sounds like sabotage! :-)))

If we forget for a minute about differences between /by-module/ and /by-authors/id/ and decide what /id/ always contain mostly up-to-date modules, then why not just download listings of all subdirectories in /id/ to get correct and reliable list of modules? I've just did this: current size of all downloaded listings (in html) is 18MB, gzip'ed size is 1.2MB (I hope cpan.org's website has mod_gzip installed and all these listings was downloading gzip'ed). I don't see why CPAN.pm don't download these 1.2MB - it's not too much even on 33.6 Kbps modem! If cpan.org will run simple cron-script once per day which will prepare list of all modules in single .txt file, then this file size will be 900KB or even 167KB gzip'ed.

So, you see, it isn't too complex to make this task reliable. And, you see, CPAN.pm and CPANPLUS.pm doesn't reliable tools. So, is there reliable tool for this task? Or we should reinvent this wheel one more time? :-(


In reply to Re^2: howto install modules by powerman
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.