in reply to How do I keep the first key in a sorted hash?
Then, I get the $sorted_positions[0] element and everything is OK!@sorted_positions = sort { $a <=> $b };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I keep the first key in a sorted hash?
by Not_a_Number (Prior) on Feb 17, 2014 at 12:18 UTC | |
|
Re^2: How do I keep the first key in a sorted hash?
by Laurent_R (Canon) on Feb 17, 2014 at 18:42 UTC |