Package: wnpp Severity: wishlist * Package name : libcache-simple-timedexpiry-perl Version : 0.21 Upstream Authors: 2004 Robert Spier <[EMAIL PROTECTED]> and Jesse Vincent <[EMAIL PROTECTED]> * URL : http://www.cpan.org * License : As Perl 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; -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.0-1-686 Locale: LANG=C, LC_CTYPE=C