XP is just a number | |
PerlMonks |
Re: Re: Embedded Perl - Memory leakby Elian (Parson) |
on Oct 16, 2003 at 16:43 UTC ( [id://299815]=note: print w/replies, xml ) | Need Help?? |
You may want to look into making 'value' mortal.No. Never make things you put into an aggregate (or things you've fetched out of an aggregate) mortal. It messes up the refcounts, will result in things being prematurely destroyed, and in some cases may end up with unusual garbage inside the aggregates. Putting things into aggregates and taking them back out doesn't affect their refcounts.
In Section
Seekers of Perl Wisdom
|
|