Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 studying the Monastery: (6)
As of 2014-12-19 03:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls