CPANDB
view release on metacpan or search on metacpan
lib/CPANDB.pm view on Meta::CPAN
use strict;
use warnings;
use IO::File ();
use DateTime 0.55 ();
use Params::Util 1.00 ();
use ORLite 1.51 ();
use ORLite::Mirror 1.20 ();
our $VERSION = '0.19';
our @LOCATION = (
locale => 'C',
time_zone => 'UTC',
);
sub import {
my $class = shift;
my $params = Params::Util::_HASH(shift) || {};
# Pass through any params from above
$params->{url} ||= 'http://svn.ali.as/db/cpandb.bz2';
$params->{maxage} ||= 24 * 60 * 60; # One day
( run in 0.746 second using v1.01-cache-2.11-cpan-ceb78f64989 )