while (my ($k, $v) = each %hash) { print "$k\t$v\n"; }
Then pipe to shell's sort -k2n.
In reply to Re: What is the most memory efficient way to (sort) and print a hash?
by choroba
in thread What is the most memory efficient way to (sort) and print a hash?
by a_salway
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |