perl@1983 has asked for the wisdom of the Perl Monks concerning the following question:
I wanted to know what is the difference when I access above hash using $a{b} vs $a->{b}? Thanks in advance.my $a = { b => 1, c => 2, d => { e => 1 }, }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Difference in accessing a Hash
by moritz (Cardinal) on Aug 03, 2012 at 13:03 UTC | |
by perl@1983 (Sexton) on Aug 03, 2012 at 13:06 UTC | |
|
Re: Difference in accessing a Hash
by locked_user sundialsvc4 (Abbot) on Aug 03, 2012 at 13:37 UTC |