CPAN::Recent::Uploads::Retriever - Retrieves recentfiles from a CPAN mirror
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.
- "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.
Returns a scalar of YAML data on success,
"undef" otherwise.
Chris Williams <chris@bingosnet.co.uk>
This software is copyright (c) 2018 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.