1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Source: libcache-simple-timedexpiry-perl
Section: perl
Priority: optional
Build-Depends: debhelper (>= 9)
Build-Depends-Indep: perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Niko Tyni <ntyni@debian.org>, Damyan Ivanov <dmn@debian.org>
Standards-Version: 3.9.8
Homepage: https://metacpan.org/release/Cache-Simple-TimedExpiry
Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libcache-simple-timedexpiry-perl.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libcache-simple-timedexpiry-perl.git
Testsuite: autopkgtest-pkg-perl
Package: libcache-simple-timedexpiry-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}
Description: Perl module to cache and expire key/value pairs
Example:
.
my $h = new Cache::Simple::TimedExpiry;
.
$h->set(Forever => "Don't expire", 0);
do {$h->set($_,"Value of $_", 1); sleep 2;} for qw(Have a nice day); $,=' ';
print $h->elements; $h->dump; sleep 4; print $h->elements; $h->dump;
|