What hash? There's no hash there, just references to arrays. You can always do a secondary sort:
That construct will sort first by second col and then by the third col.foreach my $row ( sort { $a->[1] <=> $b->[1] || $a->[2] <=> $b->[2] } +@$sheet ) {
In reply to Re^3: sorting CSV files
by derby
in thread sorting CSV files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |