On Sat, Oct 25, 2008 at 7:34 AM, Clinton Gormley <[EMAIL PROTECTED]> wrote: > Michael Peters' comment about memory reuse was saying that: > - if at runtime, you load a large memory structure > - then let those variables go out of scope > - then that memory will be come available for reuse by Perl
I won't try to speak for Michael, but technically that memory does not become available for reuse by Perl, even if they are lexical variables and they go out of scope, unless you explicitly undef the variables. Perl keeps the memory for them allocated as a performance optimization. - Perrin