Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/librecat/catmandu-importer-cpan
Catmandu Perl Utility for Recent Releases
https://github.com/librecat/catmandu-importer-cpan
Last synced: 4 days ago
JSON representation
Catmandu Perl Utility for Recent Releases
- Host: GitHub
- URL: https://github.com/librecat/catmandu-importer-cpan
- Owner: LibreCat
- Created: 2014-03-28T10:07:07.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2021-02-09T07:52:19.000Z (almost 4 years ago)
- Last Synced: 2024-05-09T11:36:43.267Z (6 months ago)
- Language: Perl
- Size: 21.5 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
# NAME
Catmandu::Importer::CPAN - get information about CPAN releases
# SYNOPSIS
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](https://metacpan.org/pod/catmandu) command line client:
$ catmandu convert CPAN --author NICS --fields distribution,date to CSV
# DESCRIPTION
This [Catmandu::Importer](https://metacpan.org/pod/Catmandu::Importer) retrieves information about CPAN releases via
MetaCPAN API.# CONFIGURATION
- prefix
Prefix that releases must start with, e.g. `Catmandu`.
- author
Selected author
- fields
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.# CONTRIBUTORS
Patrick Hochstenbach, ``
Jakob Voss ``