The DBI of caching. Stop reinventing your caching framework and just use this.
UPDATE 2013-01-16: unfortunately, the use of Moose reduces the usefulness of CHI for command-line scripts (0.2s/146 files/53k lines startup overhead just to initialize a File cache). So 4 stars instead of 5. Let's hope the author migrates to Moo someday.
This is the most comprehensive Perl caching module available. With this module you get a very rich interface and you are always prepared for backend changes. I just dumped my custom caching module running only on Memcached in favor of CHI. I had some issues with Memcached on Windows but now with CHI I can use file backend on Windows and Memcached backend on Linux. And in the future I might like to switch to DBI backend on both platforms. With CHI these backend changes are trivial and can be completed within a minute!
Excellent module, does exactly what it is supposed to do and does it really well. It took me no time at all to configure and implement a nicely namespaced cache. And when I realized that the Memcached driver didn't support the clear method, it only took about 2 minutes two switch over to the DBI driver instead. Great job Jonathan!