CPAN::Recent::Uploads - Find the distributions recently uploaded to CPAN
use CPAN::Recent::Uploads; my $weekago = time() - ( 7 * 24 * 60 * 60 ); my @uploads = CPAN::Recent::Uploads->recent( $weekago ); # as a one liner (seeing the weeks worth of uploads). perl -MCPAN::Recent::Uploads -le 'print for CPAN::Recent::Uploads->recent;'
CPAN::Recent::Uploads provides a mechanism for obtaining a list of the RECENT uploads to
CPAN as determined from the files produced by File::Rsync::Mirror::Recentfile that exist in the
authors/ directory on
Takes two optional arguments. The first argument is an
epochtime you wish to find the uploads since. If it is not supplied the default is the current time minus one week. The second argument is the URL of a
CPANmirror you wish to query. If it is not supplied then
In a list context it returns a list of uploaded distributions ordered by the time they were uploaded (ie. oldest first, increasing in recentness ).
In a scalar context it returns a hash reference keyed on distribution with the values being the
epochtime that that distribution entered
Chris Williams <firstname.lastname@example.org>
This software is copyright (c) 2014 by Chris Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.