in reply to general hash questions

Is there some problem with using a dbm to do this? I know they're not entirely fashionable anymore, but they're pretty good for storing hashes. I think it might also make it easier to programmatically make changes to your hash to simply tie it to a dbm (maybe you could do this with a file-based hash too, I don't know).