in reply to Lightweight storage solution?

I
use DB_File;
with tied hashes a lot for this kind of thing. Since your "values" appear to be lists (as opposed to scalars), you may also need to
use MLDBM qw(DB_File Storable); # or other choice of Serializer