Cache::FastMemoryCache is a Perl module with in-memory cache of arbitrary data.
SYNOPSIS
use Cache::FastMemoryCache;
my $cache = new Cache::FastMemoryCache({ 'namespace' => 'MyNamespace' });
$key = 'xxx';
$href->{'name'} = 'old name';
$cache->set( $key, $href ); # insert into cache.
$href->{'name'} = 'new name'; # modify it after insert.
# Later...
$href = $cache->get($key);
print $href->{'name'}; # prints "new name"
Cache::FastMemoryCache is an in-memory cache, implemented as an extension to the excellent Cache::Cache suite. All cached items are stored per-process. The cache does not persist after the process dies. It is the fastest of all the Cache::* types because it does not perform deep copying of data.
Product's homepage
Requirements:
· Perl