my @sorted_keys = map { $_->[0] } sort { $a->[1] cmp $b->[1] } map { [ $_, (split/:/,$hash{$_})[1] ] } keys $hash;
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: sort a hash with split values
by shmem
in thread sort a hash with split values
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |