1CPAN::Perl::Releases(3)User Contributed Perl DocumentatioCnPAN::Perl::Releases(3)
2
3
4

NAME

6       CPAN::Perl::Releases - Mapping Perl releases on CPAN to the location of
7       the tarballs
8

VERSION

10       version 5.20220620
11

SYNOPSIS

13         use CPAN::Perl::Releases qw[perl_tarballs];
14
15         my $perl = '5.14.0';
16
17         my $hashref = perl_tarballs( $perl );
18
19         print "Location: ", $_, "\n" for values %{ $hashref };
20

DESCRIPTION

22       CPAN::Perl::Releases is a module that contains the mappings of all
23       "perl" releases that have been uploaded to CPAN to the "authors/id/"
24       path that the tarballs reside in.
25
26       This is static data, but newer versions of this module will be made
27       available as new releases of "perl" are uploaded to CPAN.
28

FUNCTIONS

30       "perl_tarballs"
31           Takes one parameter, a "perl" version to search for. Returns an
32           hashref on success or "undef" otherwise.
33
34           The returned hashref will have a key/value for each type of
35           tarball. A key of "tar.gz" indicates the location of a gzipped tar
36           file and "tar.bz2" of a bzip2'd tar file. The values will be the
37           relative path under "authors/id/" on CPAN where the indicated
38           tarball will be located.
39
40             perl_tarballs( '5.14.0' );
41
42             Returns a hashref like:
43
44             {
45               "tar.bz2" => "J/JE/JESSE/perl-5.14.0.tar.bz2",
46               "tar.gz" => "J/JE/JESSE/perl-5.14.0.tar.gz"
47             }
48
49           Not all "perl" releases had "tar.bz2", but only a "tar.gz".
50
51           Perl tarballs may also be compressed using "xz" and therefore have
52           a "tar.xz" entry.
53
54       "perl_versions"
55           Returns the list of all the perl versions supported by the module
56           in ascending order. "TRIAL" and "RC" will be lower than an actual
57           release.
58
59       "perl_pumpkins"
60           Returns a sorted list of all PAUSE IDs of Perl pumpkins.
61

SEE ALSO

63       <http://www.cpan.org/src/5.0/>
64

AUTHOR

66       Chris Williams <chris@bingosnet.co.uk>
67
69       This software is copyright (c) 2022 by Chris Williams.
70
71       This is free software; you can redistribute it and/or modify it under
72       the same terms as the Perl 5 programming language system itself.
73
74
75
76perl v5.34.1                      2022-06-21           CPAN::Perl::Releases(3)
Impressum