in reply to Address of anonymous hash

Your example creates a new anonymous hash that falls out of scope with each iteration of the loop. So in the simplest terms, it's not the same anonymous hash each time. The fact that a newly created anonymous hash has or doesn't have the same address as a previous one that has fallen out of scope is practically coincidental. More importantly, it shouldn't matter what is happening behind the curtain.


Dave

Replies are listed 'Best First'.
Re^2: Address of anonymous hash
by aixtal (Sexton) on Feb 02, 2011 at 17:20 UTC
    Understood! Many thanks to Corion and you, these explanations are crystal clear !