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:
- module lists in /by-module/ and /by-authors/id/ differ:
- http://www.cpan.org/modules/by-authors/id/
- contain 26837 modules
- http://www.cpan.org/modules/by-module/
- contain 22012 modules
plus there 680 modules in /by-module/ which isn't exists in /by-authors/id/!
- interesting, by I don't found Smart::Comments neither on www.cpan.org in /A/AU/AUTRIJUS/ nor on first CPAN mirror I try (cpan.online.bg)! I wonder from where CPAN.pm downloaded it and found it use another mirror (http://no-more.kiev.ua/CPAN/) which contain a LOT of files which isn't exists on both previous sites (probably admin of this mirror forget to configure deletion of files).
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? :-(
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.