NAME

CPAN::Perl::Releases::MetaCPAN - Mapping Perl releases on CPAN to the location of the tarballs via MetaCPAN API

SYNOPSIS

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'
# }

DESCRIPTION

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.

SEE ALSO

CPAN::Perl::Releases

metacpan-api

metacpan-web

AUTHOR

Shoichi Kaji <skaji@cpan.org>

COPYRIGHT AND LICENSE

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.