See pages 789-793 of Programming Perl (3rd Edition)foreach my $this_record (sort byname @record_set) { # do something } sub byname { $a->{'NAME'} cmp $b->{'NAME'} }
In reply to Re: sorting CSV files
by ptum
in thread sorting CSV files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |