Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: CPAN Shell, Bundles and downloading specific versions

by PodMaster (Abbot)
on Oct 26, 2004 at 22:57 UTC ( [id://402833]=note: print w/replies, xml ) Need Help??


in reply to CPAN Shell, Bundles and downloading specific versions

CPANPLUS creates bundles that look like
=head1 CONTENTS Acme::DeepThoughts 0.01 Acme::MJD 0.02 Algorithm::Diff 1.15
although it will also just install the newest version. The reason is there is no way to reliably correlate module version numbers with distributions. 02packages.details.txt.gz has the data (accessible using Parse::CPAN::Packages), but once a package is deleted from CPAN, its not listed in 02packages.details.txt.gz anymore.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^2: CPAN Shell, Bundles and downloading specific versions
by skazat (Chaplain) on Oct 26, 2004 at 23:27 UTC
    Ah:

    The reason is there is no way to reliably correlate module version numbers with distributions.

    That makes sense, but that give me an idea, if, instead of a module listed as one of the lines in the CONTENTS part of a bundle, you can just put the path to the file itself you

    need, ie:

    id/G/GD/GDR/HTML-FromText-1.005.tar.gz

    It seems that the CPAN shell gives back the warning:

    The Bundle Bundle::Foo contains explicitly a file id/G/GD/GDR/HTML-FromText-1.005.tar.gz.

    But, it does seem to work!

     

    -justin simoni
    !skazat!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://402833]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-16 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found