PAR-Repository-Web
view release on metacpan or search on metacpan
lib/PAR/Repository/Web/DataSource/MemoryCachedRepository.pm view on Meta::CPAN
Those of the superclass (PAR::Repository::Web::DataSource::Repository) plus:
=cut
sub new {
my $class = shift;
my %args = @_;
my $super = $class->SUPER::new(
repositories => $args{repositories}
);
my $self = bless $super => $class;
$self->{auto_update_cache} = $args{auto_update_cache} ? 1 : 0;
$self->_init_cache();
$self->update_cache();
$self->_init_mockup_client();
return $self;
}
sub _init_cache {
( run in 0.270 second using v1.01-cache-2.11-cpan-65fba6d93b7 )