in reply to Sort assoc array
A few pointers:
How do you plan to use this? Hashes are inherently unsorted and, therefore, sorting them is useless. Sorting their data and using the output of the sort, however, is quite useful:
foreach my $key (sort keys %hash) { print "$key $hash{$key}\n"; }
Cheers,
Ovid
New address of my CGI Course.
|
|---|