NAME
CPAN::Recent::Uploads::Retriever - Retrieves recentfiles from a CPAN mirror
VERSION
version 0.04
SYNOPSIS
use CPAN::Recent::Uploads::Retriever;
my $yamldata = CPAN::Recent::Uploads::Retriever->retrieve();
DESCRIPTION
CPAN::Recent::Uploads::Retriever is a helper module for CPAN::Recent::Uploads that retrieves individual RECENT-xx.yaml
files from a CPAN mirror.
CONSTRUCTOR
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
or1Y
. The default is6h
. The second argument is a CPAN mirror URL to retrieve said files from.Returns a scalar of YAML data on success,
undef
otherwise.
AUTHOR
Chris Williams <chris@bingosnet.co.uk>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 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.