in reply to Assigning Hash To Another Hash References Same Hash

You need to use Clone to do a complete copy of a deep hash. Hash assignment only 'clones' the first level, thus copying references directly instead of following them, and thus you get the output as you see.

-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important

  • Comment on Re: Assigning Hash To Another Hash References Same Hash