MetaCPAN::Client::Release - A Release data object
my $release = $mcpan->release('Moose');
A MetaCPAN release entity object.
The release's status, latest, cpan, or backpan.
The release's name, something like Moose-1.23.
An ISO8601 datetime string like 2016-11-19T12:41:46 indicating when the release was uploaded.
The PAUSE ID of the author who uploaded the release.
This will be either released or developer.
The release's main module name.
The release's internal MetaCPAN id.
A boolean indicating whether or not this was an authorized release.
A URL for this release's distribution archive file.
The sha256 hexdigest for this release's distribution archive file.
The md5 hexdigest for this release's distribution archive file.
A boolean indicating whether or not this is the first release of this distribution.
The filename of the archive file for this release.
The release's version.
The numified form of the release's version.
The deprecated field value for this release.
The name of the distribution to which this release belongs. Something like Moose
The abstract from this release's metadata.
This is an arrayref of hashrefs. Each hashref contains the following keys:
The phase to which this dependency belongs. This will be one of configure, build, runtime, test, or develop.
This will be one of requires, recommends, or suggests.
The name of the module which is depended on.
The required version of the dependency. This may be 0, indicating that any version is acceptable.
An arrayref containing the license(s) under which this release has been made available. These licenses are represented by strings like perl_5 or gpl2.
This an arrayref containing a list of all the modules provided by this distribution.
This is a hashref containing metadata provided by the distribution. The exact contents of this hashref will vary across CPAN, but should largely conform to the spec defined by CPAN::Meta::Spec.
The resources portion of the release's metadata, returned as a hashref.
A hashref containing stat() all information about the release's archive file. The keys are:
The Unix epoch of the file's last modified time.
The file's mode (as an integer, not an octal representation).
The file's size in bytes.
Returns a hashref of information about CPAN testers results for this release. The keys are pass, fail, unknown, and na. The values are the count of that particular result on CPAN Testers for this release.
Returns the Changes text for the release.
Returns a link to the release page on MetaCPAN.
Returns a structure with release contributors info.
Sawyer X <firstname.lastname@example.org>
Mickey Nasriachi <email@example.com>
This software is copyright (c) 2016 by Sawyer X.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install MetaCPAN::Client, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.