What do you think? Besides obvious.$h{'11c'} = 'C'; $h{'b'} = 'B'; $h{'e22'} = 'E'; $h{'aaaaa'} = 'AAAA'; for (keys %h){ $a = \$h{$_} and $b = $_ if $a < \$h{$_}; } print "$b\n";
In reply to the last added element of a hash by Lennotoecom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |