in reply to Using multi-level hashes

This may be completely offbase, but you may want to look into DBM::Deep. I have found it very helpful in the past when dealing with these types of data structures; it also allows you to persist hashes to disk (as will Data::Dumper, among others). pF