in reply to Re: howto install modules
in thread howto install modules
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:
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? :-(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: howto install modules
by randyk (Parson) on Oct 11, 2005 at 00:39 UTC | |
by powerman (Friar) on Oct 11, 2005 at 02:21 UTC |