I was wondering why when I have
'11' => '154' was returned as the value instead of '4' => '152'my $href = { '11' => '154', '4' => '152', '8' => '150' };
Your code solves it :)
In reply to Re^2: Get hash value with the lowest key
by kiat
in thread Get hash value with the lowest key
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |