In article <btf8o2$6gr48$>,
A man <> wrote:
> In article <bigiain->,
> spoke thusly...
> > In article <>, Jon <>
> > wrote:
> >
> > Unfortunately, I didn't see any clean, easy-to-use, efficient ``mirror
> > only the latest modules of the CPAN '' program out there, so I wrote my
> > own, which I present in[listing one, below]."
Errm, actually, Randal wrote that, I just quoted it...
>
> Try wget. It runs on several unixes and Windows(dos). It can get only
> the newest files from a website.
The problem with that approach is that the "older" files have "older"
version numbers, and hence different filenames - wget doesn't cope with
correctly downloading the "newest" version where a cpan directory may
contain something like:
Module::Name-1.0.readme
Module::Name-1.0.tar.gz
Module::Name-1.1.readme
Module::Name-1.1.tar.gz
Module::Name-1.2.readme
Module::Name-1.2.tar.gz
Module::Name-2.0.readme
Module::Name-2.0.tar.gz
Module::Name-2.1.readme
Module::Name-2.1.tar.gz
wget will grab _all_ of them, where you only really need to get the last
two...
cheers,
big
--
'When I first met Katho, she had a meat cleaver in one hand and
half a sheep in the other. "Come in", she says, "Hammo's not here.
I hope you like meat.' Sharkey in aus.moto