PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` NAME Cache::LRU - a simple, fast implementation of LRU cache in pure perl SYNOPSIS use Cache::LRU; my $cache = Cache::LRU->new( size => $max_num_of_entries, ); $cache->set($key => $value); $value = $cache->get($key); $removed_value = $cache->remove($key); DESCRIPTION Cache::LRU is a simple, fast implementation of an in-memory LRU cache in pure perl. FUNCTIONS Cache::LRU->new(size => $max_num_of_entries) Creates a new cache object. Takes a hash as the only argument. The only parameter currently recognized is the "size" parameter that specifies the maximum number of entries to be stored within the cache object. $cache->get($key) Returns the cached object if exists, or undef otherwise. $cache->set($key => $value) Stores the given key-value pair. $cache->remove($key) Removes data associated to the given key and returns the old value, if any. $cache->clear($key) Removes all entries from the cache. AUTHOR Kazuho Oku SEE ALSO Cache Cache::Ref Tie::Cache::LRU LICENSE This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See