CPAN::Perl::Releases::MetaCPAN - Mapping Perl releases on CPAN to the location of the tarballs via MetaCPAN API
use CPAN::Perl::Releases::MetaCPAN; # Object oriented interface my $cpan = CPAN::Perl::Releases::MetaCPAN->new; my $releases = $cpan->get; # [ # { # author => "BOOK", # checksum_sha256 => "cb8715636bc744cca6e8864b6daa16f388d16ca3a134df6e6f35bbbe39dd7f63", # date => "2023-12-30T21:59:20", # download_url => "https://cpan.metacpan.org/authors/id/B/BO/BOOK/perl-5.39.6.tar.gz", # maturity => "developer", # name => "perl-5.39.6", # status => "cpan", # version => "5.039006", # }, # ... # ] # Functions use CPAN::Perl::Releases::MetaCPAN qw/perl_tarballs/; my $hash = perl_tarballs('5.14.0'); # { # 'tar.bz2' => 'J/JE/JESSE/perl-5.14.0.tar.bz2' # }
CPAN::Perl::Releases::MetaCPAN is just like CPAN::Perl::Releases, but it gets the release information via MetaCPAN API https://fastapi.metacpan.org/v1/release.
https://fastapi.metacpan.org/v1/release
CPAN::Perl::Releases
metacpan-api
metacpan-web
Shoichi Kaji <skaji@cpan.org>
Copyright 2016 Shoichi Kaji <skaji@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install CPAN::Perl::Releases::MetaCPAN, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Perl::Releases::MetaCPAN
CPAN shell
perl -MCPAN -e shell install CPAN::Perl::Releases::MetaCPAN
For more information on module installation, please visit the detailed CPAN module installation guide.