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.026000
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".
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.
64
65   abstract
66       The abstract from this release's metadata.
67
68   dependency
69       This is an arrayref of hashrefs. Each hashref contains the following
70       keys:
71
72       ·   phase
73
74           The phase to which this dependency belongs. This will be one of
75           "configure", "build", "runtime", "test", or "develop".
76
77       ·   relationship
78
79           This will be one of "requires", "recommends", or "suggests".
80
81       ·   module
82
83           The name of the module which is depended on.
84
85       ·   version
86
87           The required version of the dependency. This may be 0, indicating
88           that any version is acceptable.
89
90   license
91       An arrayref containing the license(s) under which this release has been
92       made available. These licenses are represented by strings like "perl_5"
93       or "gpl2".
94
95   provides
96       This an arrayref containing a list of all the modules provided by this
97       distribution.
98
99   metadata
100       This is a hashref containing metadata provided by the distribution. The
101       exact contents of this hashref will vary across CPAN, but should
102       largely conform to the spec defined by CPAN::Meta::Spec.
103
104   resources
105       The resources portion of the release's metadata, returned as a hashref.
106
107   stat
108       A hashref containing "stat()" all information about the release's
109       archive file. The keys are:
110
111       ·   mtime
112
113           The Unix epoch of the file's last modified time.
114
115       ·   mode
116
117           The file's mode (as an integer, not an octal representation).
118
119       ·   size
120
121           The file's size in bytes.
122
123   tests
124       Returns a hashref of information about CPAN testers results for this
125       release. The keys are "pass", "fail", "unknown", and "na". The values
126       are the count of that particular result on CPAN Testers for this
127       release.
128

METHODS

130   changes
131       Returns the Changes text for the release.
132
133   metacpan_url
134       Returns a link to the release page on MetaCPAN.
135
136   contributors
137       Returns a structure with release contributors info.
138

AUTHORS

140       ·   Sawyer X <xsawyerx@cpan.org>
141
142       ·   Mickey Nasriachi <mickey@cpan.org>
143
145       This software is copyright (c) 2016 by Sawyer X.
146
147       This is free software; you can redistribute it and/or modify it under
148       the same terms as the Perl 5 programming language system itself.
149
150
151
152perl v5.30.1                      2020-01-30      MetaCPAN::Client::Release(3)
Impressum