Catmandu::Importer::CPAN - get information about CPAN releases
use Catmandu::Importer::CPAN; my $importer = Catmandu::Importer::CPAN->new( prefix => 'Catmandu' ); $importer->each(sub { my $module = shift; print $module->{name} , "\n"; print $module->{version} , "\n"; print $module->{date} , "\n"; });
Or with the catmandu command line client:
$ catmandu convert CPAN --author NICS --fields distribution,date to CSV
This Catmandu::Importer retrieves information about CPAN releases via MetaCPAN API.
Prefix that releases must start with, e.g. Catmandu.
Catmandu
Selected author
Array reference or comma separated list of fields to get. The special value all will return all fields. Set to id,date,distribution,version,abstract by default.
all
id,date,distribution,version,abstract
Patrick Hochstenbach, <patrick.hochstenbach at ugent.be>
<patrick.hochstenbach at ugent.be>
Jakob Voss <jakob.voss at gbv.de>
<jakob.voss at gbv.de>
To install Catmandu::Importer::CPAN, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::Importer::CPAN
CPAN shell
perl -MCPAN -e shell install Catmandu::Importer::CPAN
For more information on module installation, please visit the detailed CPAN module installation guide.