Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Programmatic way to get CPAN Module tarballs?

by Plankton (Vicar)
on Jan 13, 2010 at 18:49 UTC ( #817256=note: print w/replies, xml ) Need Help??


in reply to Re^2: Programmatic way to get CPAN Module tarballs?
in thread Programmatic way to get CPAN Module tarballs?

#!/usr/bin/perl -w use strict; use CPAN; my @cpanmods = qw / Algorithm::Interval2Prefix \ Apache::Session::File \ ... other modules go here XML::Generator /; for my $cpanmod ( @cpanmods ) { for my $mod (CPAN::Shell->expand("Module", $cpanmod )) { print "http://search.cpan.org/CPAN/authors/id/" . $mod +->{'RO'}{'CPAN_FILE'} . "\n"; } }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2023-12-06 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (29 votes). Check out past polls.

    Notices?