[Israel.pm] Hash cleanup
Amir E. Aharoni
amir.aharoni at gmail.com
Mon Mar 30 06:24:53 PDT 2009
2009/3/30 Berler Chanan <bc.other at gmail.com>:
> My question is: will undef %uptime_data should be enough ? will the Perl GC
> handle the memory for me.
> As I understood it will...
It will if you're lucky :)
AFAIK there isn't anything better than undef for releasing memory, but
the docs say that its actual success depends on the OS. I experimented
with it on GNU/Linux quite a lot, and it worked (i think), but on
Windows it may be different. Can anybody tell something more precise?
--
Amir Elisha Aharoni
heb: http://haharoni.wordpress.com | eng: http://aharoni.wordpress.com
cat: http://aprenent.wordpress.com | rus: http://amire80.livejournal.com
"We're living in pieces,
I want to live in peace." - T. Moore
More information about the Perl
mailing list