http://qs321.pair.com?node_id=1169018


in reply to Re: hash reference to itself
in thread hash reference to itself

When my forehead hit the desk, I woke up several people sleeping around me. I don't expect this kind of mental flatulence until Fridays. Thanks! Just what I needed.

Replies are listed 'Best First'.
Re^3: hash reference to itself
by ikegami (Patriarch) on Aug 02, 2016 at 17:56 UTC
    Note that this approach will leak memory unless you do the following when you're done with the hash:
    %hash = ();

      Good to know. Thanks!