in reply to using tie on a Hash of Hashes

check out MLDBM

Originally posted as a Categorized Answer.