Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Programmatic way to get CPAN Module tarballs?

by ctilmes (Vicar)
on Jan 13, 2010 at 17:43 UTC ( #817237=note: print w/replies, xml ) Need Help??

in reply to Programmatic way to get CPAN Module tarballs?

Try the CPAN module itself.

CPAN::Distribution::get might do the trick.

  • Comment on Re: Programmatic way to get CPAN Module tarballs?

Replies are listed 'Best First'.
Re^2: Programmatic way to get CPAN Module tarballs?
by Plankton (Vicar) on Jan 13, 2010 at 17:58 UTC
    thanks! exactly what I needed!
      #!/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 "" . $mod +->{'RO'}{'CPAN_FILE'} . "\n"; } }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://817237]
[Corion]: ... "changed"
[Corion]: I usually expect fixed header names, but am sometimes lenient in the order of columns. But changing the report titles often sounds to me as if you are not the sole consument of the export ;)
[shmem]: perldigious: as always - if it ain't broke, don't fix it. Ther must be a very compelling reason for changing column names in a database. Those are rare.
[Corion]: If you have whitespace in the column names in the database, whap the DBAs ;)
[shmem]: It's common for some vendors to have column names such as WRSTVG or some other such whizzbang, and another table where these names are mapped to something meaningful depending on how you look at the data
[shmem]: afair in SAP that occurs all the time

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-05-25 13:35 GMT
Find Nodes?
    Voting Booth?