Lennotoecom has asked for the wisdom of the Perl Monks concerning the following question:
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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: the last added element of a hash
by Athanasius (Archbishop) on Jul 31, 2014 at 09:24 UTC | |
by LanX (Saint) on Jul 31, 2014 at 09:38 UTC | |
by Discipulus (Canon) on Jul 31, 2014 at 10:47 UTC | |
| |
|
Re: the last added element of a hash
by AppleFritter (Vicar) on Jul 31, 2014 at 09:07 UTC | |
|
Re: the last added element of a hash
by Jenda (Abbot) on Jul 31, 2014 at 14:28 UTC | |
|
Re: the last added element of a hash
by parv (Parson) on Jul 31, 2014 at 08:47 UTC |