NAME

CPAN::Releases::Latest - a list of the latest release(s) of all dists on CPAN, including dev releases

SYNOPSIS

use CPAN::Releases::Latest;

my $latest   = CPAN::Releases::Latest->new();
my $iterator = $latest->release_iterator();

while (my $release = $iterator->next_release) {
    printf "%s path=%s  time=%d  size=%d\n",
           $release->distname,
           $release->path,
           $release->timestamp,
           $release->size;
}

DESCRIPTION

VERY MUCH AN ALPHA. ALL THINGS MAY CHANGE.

This module uses the MetaCPAN API to construct a list of all dists on CPAN. It will let you iterate across these, returning the latest release of the dist. If the latest release is a developer release, then you'll first get back the non-developer release (if there is one), and then you'll get back the developer release.

REPOSITORY

https://github.com/neilbowers/CPAN-Releases-Latest

AUTHOR

Neil Bowers <neilb@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Neil Bowers <neilb@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.