Mail::Summary::Tools::YAMLCache - A low performance cache which is easy to


Mail-Summary-Tools documentation  | view source Contained in the Mail-Summary-Tools distribution.

Index


NAME

Top

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

SYNOPSIS

Top

	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

Top

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.


Mail-Summary-Tools documentation  | view source Contained in the Mail-Summary-Tools distribution.