in reply to 3D array of hashes

Check out perlref for clues on how to use references and anonymous data structures. Lots of good info there.

Or, wait a bit and someone will undoubtedly serve you some fish right here :)