Thanks for your code but I can't get it to work.
Gives me the error Type of arg 1 to keys must be hash (not modulus (%)) at test.pl line 509, near "results) " Bareword "results" not allowed while "strict subs" in use at test.pl line 508. Execution of test.pl aborted due to compilation errors.foreach my $key (sort keys { $a <=> $b } %results) { print MAIL "$key) $results{$key}\n"; }
In reply to Re^2: sorting hash keys
by Anonymous Monk
in thread sorting hash keys
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |