Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: references changing a hash value

by splinky (Hermit)
on Apr 26, 2005 at 14:01 UTC ( [id://451575]=note: print w/replies, xml ) Need Help??


in reply to references changing a hash value

$ranimals is a reference to %animals, so they both point at the same thing. So, when you change $$ranimals{'duck'}, you're also changing $animals{'duck'}.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2024-04-24 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found