http://www.perlmonks.org?node_id=749574


in reply to db backend for logging all calls to a class

Have a look at Memoize::Storable.
Only question is if your class can be memoized or not - otherwise I would consider to look at the mechanism used to write your own memoizer without caching...