in reply to multi-dimensional hash

The first way you do it should work fine. It's really a hash of hashes (So, the variable name HoA should probably be HoH, or really probably something more descriptive.)

-- Kirby, WhitePages.com