$
$_
This sort runs pretty slowly, any hints on how to speed this up?
foreach my $k (sort {$file{$b}[$col] cmp $file{$a}[$col]}
keys %file)
%file is a 'HoA', there are usually around 500 keys.
Each {key} has an anonymous [array] with 8 items.
The item data is mixed.. numbers, punctuation, letters.
Also is there a way the 'each' function could be used
to save memory?
Any help would just great. Thanks.
foreach my $k (sort {$file{$b}[$col] cmp $file{$a}[$col]}
keys %file)
%file is a 'HoA', there are usually around 500 keys.
Each {key} has an anonymous [array] with 8 items.
The item data is mixed.. numbers, punctuation, letters.
Also is there a way the 'each' function could be used
to save memory?
Any help would just great. Thanks.