Perl-Sensitive Sunglasses | |
PerlMonks |
Re^4: Tracking down memory leaksby perrin (Chancellor) |
on Apr 13, 2005 at 13:39 UTC ( [id://447375]=note: print w/replies, xml ) | Need Help?? |
All of the variables in that loop will retain their memory between calls and reuse it. However, if you leave that loop, they will still retain that memory. Also, if you load one of them once with 10MB of data, it will stay at that size until perl exits unless you explicitly undef it when you're done with it.
In Section
Seekers of Perl Wisdom
|
|