Perl Monk, Perl Meditation | |
PerlMonks |
Re: How do I free memory allocated to an arrayby rjimlad (Acolyte) |
on Jul 19, 2002 at 20:35 UTC ( [id://183447]=note: print w/replies, xml ) | Need Help?? |
I'm not sure how quick perl's garbage collection is with this kind of thing - personally I'd set it to an empty array (ie, @foo=() ). Possibly treating it as an arrayref may get more direct results:
...or maybe not. Of course even freed memory is not necessarily not marked as allocated (if you see what I mean).
In Section
Seekers of Perl Wisdom
|
|