For completeness: if you're stuck with that HoA you can also opt to use constants:
use constant { height => 0, color => 1 weight=> 2,...}; (untested)
then you'll be able to access the array members by name.
$hash{"ef56"}[height]
If that's also not your question, feel free to clarify.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Hash of Arrays
by LanX
in thread Hash of Arrays
by pmilne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |