in reply to Re^3: hash refferences
in thread hash refferences

Heh thanks, this is exactly what I did, but somehow it seems not efficient enough.
What about the following solution:
Substitute the %temp variable by $tempRef= {} ?

Replies are listed 'Best First'.
Re^5: hash refferences
by moritz (Cardinal) on Aug 21, 2008 at 13:20 UTC
    Yes, you can do that. That way you avoid the copy, and whenever you need a fresh hash you can write $tempRef = {}.