I can build a hash of arrays using: push(@{ $hash{"ef56"} }, 2.6, "red", 4);
and I can read or write a single item with (say) $hash{"ef56"}[0]
However I wish to be able to store a list of attributes for each hash - for example:
[0] height, [1] color, [2] weight so I can get (say) the color of an item by specifying the hash key and 'color' (in whatever form) rather than having to use [1].