The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


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->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.