in reply to Using $foo->{'bar'} and not %$foo{'bar'}
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