CPAN::Recent::Uploads::Retriever - Retrieves recentfiles from a CPAN mirror
version 0.08
use CPAN::Recent::Uploads::Retriever; my $yamldata = CPAN::Recent::Uploads::Retriever->retrieve();
CPAN::Recent::Uploads::Retriever is a helper module for CPAN::Recent::Uploads that retrieves individual RECENT-xx.yaml files from a CPAN mirror.
RECENT-xx.yaml
retrieve
Takes two optional arguments. The first argument is an identifier for the RECENT file to retrieve and can be either, 1h, 6h, 1d, 1W, 1M, 1Q or 1Y. The default is 6h. The second argument is a CPAN mirror URL to retrieve said files from.
RECENT
1h
6h
1d
1W
1M
1Q
1Y
Returns a scalar of YAML data on success, undef otherwise.
undef
Chris Williams <chris@bingosnet.co.uk>
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.
To install CPAN::Recent::Uploads, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Recent::Uploads
CPAN shell
perl -MCPAN -e shell install CPAN::Recent::Uploads
For more information on module installation, please visit the detailed CPAN module installation guide.