| 1 |
NAME |
| 2 |
|
| 3 |
CPAN::Perl::Releases - Mapping Perl releases on CPAN to the location of |
| 4 |
the tarballs |
| 5 |
|
| 6 |
VERSION |
| 7 |
|
| 8 |
version 5.20260924 |
| 9 |
|
| 10 |
SYNOPSIS |
| 11 |
|
| 12 |
use CPAN::Perl::Releases qw[perl_tarballs]; |
| 13 |
|
| 14 |
my $perl = '5.14.0'; |
| 15 |
|
| 16 |
my $hashref = perl_tarballs( $perl ); |
| 17 |
|
| 18 |
print "Location: ", $_, "\n" for values %{ $hashref }; |
| 19 |
|
| 20 |
DESCRIPTION |
| 21 |
|
| 22 |
CPAN::Perl::Releases is a module that contains the mappings of all perl |
| 23 |
releases that have been uploaded to CPAN to the authors/id/ path that |
| 24 |
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 |
|
| 29 |
FUNCTIONS |
| 30 |
|
| 31 |
perl_tarballs |
| 32 |
|
| 33 |
Takes one parameter, a perl version to search for. Returns an hashref |
| 34 |
on success or undef otherwise. |
| 35 |
|
| 36 |
The returned hashref will have a key/value for each type of tarball. |
| 37 |
A key of tar.gz indicates the location of a gzipped tar file and |
| 38 |
tar.bz2 of a bzip2'd tar file. The values will be the relative path |
| 39 |
under authors/id/ on CPAN where the indicated tarball will be |
| 40 |
located. |
| 41 |
|
| 42 |
perl_tarballs( '5.14.0' ); |
| 43 |
|
| 44 |
Returns a hashref like: |
| 45 |
|
| 46 |
{ |
| 47 |
"tar.bz2" => "J/JE/JESSE/perl-5.14.0.tar.bz2", |
| 48 |
"tar.gz" => "J/JE/JESSE/perl-5.14.0.tar.gz" |
| 49 |
} |
| 50 |
|
| 51 |
Not all perl releases had tar.bz2, but only a tar.gz. |
| 52 |
|
| 53 |
Perl tarballs may also be compressed using xz and therefore have a |
| 54 |
tar.xz entry. |
| 55 |
|
| 56 |
perl_versions |
| 57 |
|
| 58 |
Returns the list of all the perl versions supported by the module in |
| 59 |
ascending order. TRIAL and RC will be lower than an actual release. |
| 60 |
|
| 61 |
perl_pumpkins |
| 62 |
|
| 63 |
Returns a sorted list of all PAUSE IDs of Perl pumpkins. |
| 64 |
|
| 65 |
SEE ALSO |
| 66 |
|
| 67 |
http://www.cpan.org/src/5.0/ |
| 68 |
|
| 69 |
AUTHOR |
| 70 |
|
| 71 |
Chris Williams <[email protected]> |
| 72 |
|
| 73 |
COPYRIGHT AND LICENSE |
| 74 |
|
| 75 |
This software is copyright (c) 2026 by Chris Williams. |
| 76 |
|
| 77 |
This is free software; you can redistribute it and/or modify it under |
| 78 |
the same terms as the Perl 5 programming language system itself. |
| 79 |
|