Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Using $foo->{'bar'} and not %$foo{'bar'}

by MrNobo1024 (Hermit)
on Sep 10, 2002 at 14:19 UTC ( #196679=note: print w/replies, xml ) Need Help??


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.

  • Comment on Re: Using $foo->{'bar'} and not %$foo{'bar'}

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://196679]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2016-09-29 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (551 votes). Check out past polls.