http://www.perlmonks.org?node_id=772311


in reply to non-scalar hash key

Sounds like you need a HoA (hash of arrays).

Check out the PDSC

Cheers,
Darren :)