in reply to
package DB penalty?
Even if @args had been a deep copy, rather than a shallow one, of @DB::args, it stopped existing after the while {} loop ended, since it was lexical.
Hence, no penalty whatsoever.
Bob Niederman, http://bob-n.com
Comment on
Re: package DB penalty?
Replies are listed 'Best First'.
Re: Re: package DB penalty?
by
bobn
(Chaplain)
on May 15, 2003 at 02:17 UTC
OOOPS!
The variable goes out of scope, but, at least under Linux (redhat 7.2), the process still holds onto the RAM.
Never mind.
Bob Niederman, http://bob-n.com
[reply]
In Section
Seekers of Perl Wisdom