in reply to Using $foo->{'bar'} and not %$foo{'bar'}
It's actually the same as $ref->{foo}, they both can work on either a symbolic or hard reference.