We don't bite newbies here... much | |
PerlMonks |
Re^3: Memory usage of a "sub" in mod_perlby shmem (Chancellor) |
on May 23, 2008 at 19:53 UTC ( [id://688205]=note: print w/replies, xml ) | Need Help?? |
and then undef $page->{html}. Shouldn't "undef" be enough? That depends upon what that hash entry actually is. If it is a reference (or something containing a reference) to data which is held elsewhere, you just clear that slot from the reference, but not the referenced data. Consider:
which is different to
where the referenced data is cleared. --shmem
In Section
Seekers of Perl Wisdom
|
|