Cache::Memcached does exactly what I descibed above: it serializes objects using Storable and sends them to a server. If you don't need to share data across a cluster of machines, BerkeleyDB and Cache::FastMmap both offer better performance than Cache:Memcached.