http://qs1969.pair.com?node_id=817239


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

thanks! exactly what I needed!

Replies are listed 'Best First'.
Re^3: Programmatic way to get CPAN Module tarballs?
by Plankton (Vicar) on Jan 13, 2010 at 18:49 UTC
    #!/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"; } }