Add my vote for the hash of hashes bit. It makes your code easier to maintain than a hash of lists. Plus, if you end up adding a field (zip?), you'll probably find it more intuitive to use $people{$idnumber}{zip} than $people{$idnumber}[4].
See also perldsc.
In reply to Re: (Ovid) Re: Complex Data Structures?
by myocom
in thread Complex Data Structures?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |