Memoize::Expire(3p) Perl Programmers Reference Guide Memoize::Expire(3p)
Memoize::Expire(3p) Perl Programmers Reference Guide Memoize::Expire(3p) # Memoize::Expire(3p) Perl Programmers Reference Guide Memoize::Expire(3p) NNAAMMEE # Memoize::Expire - Plug-in module for automatic expiration of memoized values SSYYNNOOPPSSIISS # use Memoize; use Memoize::Expire; tie my %cache => 'Memoize::Expire', LIFETIME => $lifetime, # In seconds NUM_USES => $n_uses; memoize 'function', SCALAR_CACHE => [HASH => \%cache ]; DDEESSCCRRIIPPTTIIOONN # Memoize::Expire is a plug-in module for Memoize. It allows the cached values for memoized functions to expire automatically. ...