Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: hash reference to itself

by ExReg (Priest)
on Aug 02, 2016 at 17:19 UTC ( #1169018=note: print w/replies, xml ) Need Help??

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 (Pope) 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!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2021-10-22 21:59 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (85 votes). Check out past polls.