Cache::FastMemoryCacheCache::FastMemoryCache is a Perl module with in-memory cache of arbitrary data. | |
Download |
Cache::FastMemoryCache Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- John Millaway
- Publisher web site:
- http://search.cpan.org/~millaway/Cache-FastMemoryCache-0.01/FastMemoryCache.pm
Cache::FastMemoryCache Tags
Cache::FastMemoryCache Description
Cache::FastMemoryCache is a Perl module with in-memory cache of arbitrary data. 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. Requirements: · Perl
Cache::FastMemoryCache Related Software