Mail::Summary::Tools::YAMLCache - A low performance cache which is easy to edit/fix.
use Mail::Summary::Tools::YAMLCache; my $cache = Mail::Summary::Tools::YAMLCache->new( file => Path::Class::file("/tmp/foo"), ); $cache->get("foo:bar"); $cache->set("foo:bar", "moose");
This is a hacky implementation of the Cache API, suitable for caching long lived values, like shortened links, and links to google group threads (which require WWW::Mechanize under normal circumstances).
The main point of this module is to create a file that is easy to edit/alter/delete, not to be performant or multiprocess friendly.
To install Mail::Summary::Tools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Summary::Tools
CPAN shell
perl -MCPAN -e shell install Mail::Summary::Tools
For more information on module installation, please visit the detailed CPAN module installation guide.