1MetaCPAN::Client::ReleaUssee(r3)Contributed Perl DocumenMteattaiCoPnAN::Client::Release(3)
2
3
4

NAME

6       MetaCPAN::Client::Release - A Release data object
7

VERSION

9       version 2.029000
10

SYNOPSIS

12       my $release = $mcpan->release('Moose');
13

DESCRIPTION

15       A MetaCPAN release entity object.
16

ATTRIBUTES

18   status
19       The release's status, "latest", "cpan", or "backpan".
20
21   name
22       The release's name, something like "Moose-1.23".
23
24   date
25       An ISO8601 datetime string like "2016-11-19T12:41:46" indicating when
26       the release was uploaded.
27
28   author
29       The PAUSE ID of the author who uploaded the release.
30
31   maturity
32       This will be either "released" or "developer".
33
34   main_module
35       The release's main module name.
36
37   id
38       The release's internal MetaCPAN id.
39
40   authorized
41       A boolean indicating whether or not this was an authorized release.
42
43   download_url
44       A URL for this release's distribution archive file.
45
46   checksum_sha256
47       The sha256 hexdigest for this release's distribution archive file.
48
49   checksum_md5
50       The md5 hexdigest for this release's distribution archive file.
51
52   first
53       A boolean indicating whether or not this is the first release of this
54       distribution.
55
56   archive
57       The filename of the archive file for this release.
58
59   version
60       The release's version.
61
62   version_numified
63       The numified form of the release's version.
64
65   deprecated
66       The deprecated field value for this release.
67
68   distribution
69       The name of the distribution to which this release belongs. Something
70       like "Moose"
71
72   abstract
73       The abstract from this release's metadata.
74
75   dependency
76       This is an arrayref of hashrefs. Each hashref contains the following
77       keys:
78
79       •   phase
80
81           The phase to which this dependency belongs. This will be one of
82           "configure", "build", "runtime", "test", or "develop".
83
84       •   relationship
85
86           This will be one of "requires", "recommends", or "suggests".
87
88       •   module
89
90           The name of the module which is depended on.
91
92       •   version
93
94           The required version of the dependency. This may be 0, indicating
95           that any version is acceptable.
96
97   license
98       An arrayref containing the license(s) under which this release has been
99       made available. These licenses are represented by strings like "perl_5"
100       or "gpl2".
101
102   provides
103       This an arrayref containing a list of all the modules provided by this
104       distribution.
105
106   metadata
107       This is a hashref containing metadata provided by the distribution. The
108       exact contents of this hashref will vary across CPAN, but should
109       largely conform to the spec defined by CPAN::Meta::Spec.
110
111   resources
112       The resources portion of the release's metadata, returned as a hashref.
113
114   stat
115       A hashref containing "stat()" all information about the release's
116       archive file. The keys are:
117
118       •   mtime
119
120           The Unix epoch of the file's last modified time.
121
122       •   mode
123
124           The file's mode (as an integer, not an octal representation).
125
126       •   size
127
128           The file's size in bytes.
129
130   tests
131       Returns a hashref of information about CPAN testers results for this
132       release. The keys are "pass", "fail", "unknown", and "na". The values
133       are the count of that particular result on CPAN Testers for this
134       release.
135

METHODS

137   changes
138       Returns the Changes text for the release.
139
140   metacpan_url
141       Returns a link to the release page on MetaCPAN.
142
143   contributors
144       Returns a structure with release contributors info.
145

AUTHORS

147       •   Sawyer X <xsawyerx@cpan.org>
148
149       •   Mickey Nasriachi <mickey@cpan.org>
150
152       This software is copyright (c) 2016 by Sawyer X.
153
154       This is free software; you can redistribute it and/or modify it under
155       the same terms as the Perl 5 programming language system itself.
156
157
158
159perl v5.34.0                      2021-07-22      MetaCPAN::Client::Release(3)
Impressum