1BackPAN::Index::Dist(3)User Contributed Perl DocumentatioBnackPAN::Index::Dist(3)
2
3
4

NAME

6       BackPAN::Index::Dist - Representing a distribution on BackPAN
7

SYNOPSIS

9       Use through BackPAN::Index.
10

DESCRIPTION

12       An object representing a distribution on BackPAN.  A distribution is
13       made up of releases.
14
15   releases
16           my $releases = $dist->releases;
17
18       A ResultSet of this distribution's releases.
19
20   name
21           my $dist_name = $dist->name;
22
23       Name of the distribution.
24
25   authors
26           my @authors = $dist->authors;
27
28       Return the CPANIDs which made releases of this $dist, in no particular
29       order.
30
31   num_releases
32           my $num_releases = $dist->num_releases;
33
34       Returns the number of releases this distribution has.
35
36   first_release
37   latest_release
38           my $release = $dist->first_release;
39
40       Returns the first or latest release of this distribution as a
41       BackPAN::Index::Release.
42
43   first_date
44   latest_date
45           my $release = $dist->first_date;
46
47       Returns the date of the first or latest release of this distribution.
48
49   first_author
50   latest_author
51           my $cpanid = $dist->first_author;
52
53       Returns the CPANID of the author of the first or latest release.
54
55   as_hash
56           my $data = $dist->as_hash;
57
58       Returns a hash ref containing the data inside $dist.
59

SEE ALSO

61       BackPAN::Index
62
63
64
65perl v5.34.0                      2022-01-20           BackPAN::Index::Dist(3)
Impressum