Assume you have a hash as you've described above, called %people:
my @sortedkeys = sort { $people{$a}->[0] cmp $people{$b}->[0] or $people{$a}->[1] cmp $people{$b}->[1] or $people{$a}->[2] cmp $people{$b}->[2] } keys %people;
Dave
In reply to Re: Data::Sorting
by davido
in thread Data::Sorting
by Fuzzy Frog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |