velusamy has asked for the wisdom of the Perl Monks concerning the following question:
How the above code prints "bye"?my %hash = ( 'hi' => ('hello' => 'all'), 'bye' => ('later' => 'gone') ); print $hash{'all'};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Doubt on hash keys
by tilly (Archbishop) on Jan 16, 2009 at 04:55 UTC | |
|
Re: Doubt on hash keys
by ysth (Canon) on Jan 16, 2009 at 04:55 UTC | |
|
Re: Doubt on hash keys
by kyle (Abbot) on Jan 16, 2009 at 04:58 UTC | |
|
Re: Doubt on hash keys
by jethro (Monsignor) on Jan 16, 2009 at 05:03 UTC | |
|
Re: Doubt on hash keys
by targetsmart (Curate) on Jan 16, 2009 at 10:47 UTC |