in reply to Building Multi-Level Hash dynamically
See Data::Diver (or search here for nearly exactly that title to find several previous discussions of this, for example: dynamic hash).
- tye