On Fri, Dec 11, 2009 at 11:37 AM, William T <dietbud...@gmail.com> wrote:
> You can make sure the variables that the memory was malloc'd for have
> gone out of scope, and there are not trailing references to them.
> Perl will then reuse that memory.

It will keep the memory allocated to the out-of-scope variables unless
you undef them.

There's a summary of many PerlMonks discussions on this topic here:
http://www.perlmonks.org/?node_id=803515

- Perrin

Reply via email to