in reply to how to check which index $x is in an hash
my @sorted_indices = sort {$a <=> $b} keys %upload;
Then iterate over @sorted_indices.
--shmem
_($_=" "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}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to check which index $x is in an hash
by Anonymous Monk on May 21, 2007 at 21:50 UTC | |
by shmem (Chancellor) on May 22, 2007 at 05:16 UTC |