Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-12-11 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.