1MetaCPAN::Client::ReleaUssee(r3)Contributed Perl DocumenMteattaiCoPnAN::Client::Release(3)
2
3
4
6 MetaCPAN::Client::Release - A Release data object
7
9 version 2.028000
10
12 my $release = $mcpan->release('Moose');
13
15 A MetaCPAN release entity object.
16
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 first
47 A boolean indicating whether or not this is the first release of this
48 distribution.
49
50 archive
51 The filename of the archive file for this release.
52
53 version
54 The release's version.
55
56 version_numified
57 The numified form of the release's version.
58
59 deprecated
60 The deprecated field value for this release.
61
62 distribution
63 The name of the distribution to which this release belongs. Something
64 like "Moose"
65
66 abstract
67 The abstract from this release's metadata.
68
69 dependency
70 This is an arrayref of hashrefs. Each hashref contains the following
71 keys:
72
73 · phase
74
75 The phase to which this dependency belongs. This will be one of
76 "configure", "build", "runtime", "test", or "develop".
77
78 · relationship
79
80 This will be one of "requires", "recommends", or "suggests".
81
82 · module
83
84 The name of the module which is depended on.
85
86 · version
87
88 The required version of the dependency. This may be 0, indicating
89 that any version is acceptable.
90
91 license
92 An arrayref containing the license(s) under which this release has been
93 made available. These licenses are represented by strings like "perl_5"
94 or "gpl2".
95
96 provides
97 This an arrayref containing a list of all the modules provided by this
98 distribution.
99
100 metadata
101 This is a hashref containing metadata provided by the distribution. The
102 exact contents of this hashref will vary across CPAN, but should
103 largely conform to the spec defined by CPAN::Meta::Spec.
104
105 resources
106 The resources portion of the release's metadata, returned as a hashref.
107
108 stat
109 A hashref containing "stat()" all information about the release's
110 archive file. The keys are:
111
112 · mtime
113
114 The Unix epoch of the file's last modified time.
115
116 · mode
117
118 The file's mode (as an integer, not an octal representation).
119
120 · size
121
122 The file's size in bytes.
123
124 tests
125 Returns a hashref of information about CPAN testers results for this
126 release. The keys are "pass", "fail", "unknown", and "na". The values
127 are the count of that particular result on CPAN Testers for this
128 release.
129
131 changes
132 Returns the Changes text for the release.
133
134 metacpan_url
135 Returns a link to the release page on MetaCPAN.
136
137 contributors
138 Returns a structure with release contributors info.
139
141 · Sawyer X <xsawyerx@cpan.org>
142
143 · Mickey Nasriachi <mickey@cpan.org>
144
146 This software is copyright (c) 2016 by Sawyer X.
147
148 This is free software; you can redistribute it and/or modify it under
149 the same terms as the Perl 5 programming language system itself.
150
151
152
153perl v5.32.0 2020-08-24 MetaCPAN::Client::Release(3)