1MetaCPAN::Client::DistrUisbeurtiCoonn(t3r)ibuted Perl DoMceutmaeCnPtAaNt:i:oCnlient::Distribution(3)
2
3
4

NAME

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

VERSION

9       version 2.030000
10

SYNOPSIS

12           my $dist = $mcpan->distribution('MetaCPAN-Client');
13

DESCRIPTION

15       A MetaCPAN distribution entity object.
16

ATTRIBUTES

18   name
19       The distribution's name.
20
21   bugs
22       A hashref containing information about bugs reported in various issue
23       trackers. The top-level keys are issue tracker names like "rt" or
24       "github". Each value is itself a hashref containing information about
25       the bugs in that tracker. The keys vary between trackers, but this will
26       always contain a "source" key, which is a URL for the tracker. There
27       may also be keys containing counts such as "active", "closed", etc.
28
29   river
30       A hashref containing "CPAN River" <http://neilb.org/2015/04/20/river-
31       of-cpan.html> information about the distro. The hashref contains the
32       following keys:
33
34       •   bucket
35
36           A positive or zero integer. The higher the number the farther
37           upstream this distribution is.
38
39       •   immediate
40
41           The number of distributions that directly depend on this one.
42
43       •   total
44
45           The number of distributions that depend on this one, directly or
46           indirectly.
47

METHODS

49   rt
50       Returns the hashref of data for the rt bug tracker. This defaults to an
51       empty hashref.
52
53   github
54       Returns the hashref of data for the github bug tracker. This defaults
55       to an empty hashref.
56
57   metacpan_url
58       Returns a link to the distribution page on MetaCPAN.
59

AUTHORS

61       •   Sawyer X <xsawyerx@cpan.org>
62
63       •   Mickey Nasriachi <mickey@cpan.org>
64
66       This software is copyright (c) 2016 by Sawyer X.
67
68       This is free software; you can redistribute it and/or modify it under
69       the same terms as the Perl 5 programming language system itself.
70
71
72
73perl v5.38.0                      2023-07-20 MetaCPAN::Client::Distribution(3)
Impressum