NAME

Mail::Summary::Tools::YAMLCache - A low performance cache which is easy to edit/fix.

SYNOPSIS

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");

DESCRIPTION

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.