Cache::LRU::WithExpires - can set an expiration for the Cache::LRU
use Cache::LRU::WithExpires; my $cache = Cache::LRU::WithExpires->new; $cache->set('foo', 'bar', 1); sleep 2; $cache->get('foo'); # undef
Cache::LRU::WithExpires is a can set an expiration for the Cache::LRU.
xaicron <xaicron {at} cpan.org>
Copyright 2012 - xaicron
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Cache::LRU
To install Cache::LRU::WithExpires, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Cache::LRU::WithExpires
CPAN shell
perl -MCPAN -e shell install Cache::LRU::WithExpires
For more information on module installation, please visit the detailed CPAN module installation guide.