Sounds like you want to tie your hash(es) to a DB_File.
duff
In reply to Re: Caching a hash? by duff in thread Caching a hash? by guice