Just another Perl shrine | |
PerlMonks |
Re: Using $foo->{'bar'} and not %$foo{'bar'}by MrNobo1024 (Hermit) |
on Sep 10, 2002 at 14:19 UTC ( [id://196679]=note: print w/replies, xml ) | Need Help?? |
Did you mean $$ref{foo}? %$ref{foo} is a syntax error.
It's actually the same as $ref->{foo}, they both can work on either a symbolic or hard reference.
In Section
Seekers of Perl Wisdom
|
|