--my @temps = sort { $a <=> $b } keys %hash; my @fluors = @hash{@temps};
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Hashes - sorting keys
by davorg
in thread Hashes - sorting keys
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |