[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: After retrieving data from DB, the memory doesn't seem to be freed up
- Subject: Re: After retrieving data from DB, the memory doesn't seem to be freed up
- Date: Thu, 10 May 2007 23:52:57 +0100
- From: Andy Armstrong <suppressed>
On 10 May 2007, at 23:48, Jonathan Vanasco wrote:
that also means that variables are sticky -- if you change
something from $a= "b" to $a.= "b" , you'll see the var appending
b on every iteration
No you don't:
sub frog {
my $x;
$x .= 'x';
return $x;
}
print frog(), "\n" for 1 .. 10;
prints
x
x
x
x
x
x
x
x
x
x
--
Andy Armstrong, hexten.net
- References:
- After retrieving data from DB, the memory doesn't seem to be freed up
- Re: After retrieving data from DB, the memory doesn't seem to be freed up
- Re: After retrieving data from DB, the memory doesn't seem to be freed up
- Re: After retrieving data from DB, the memory doesn't seem to be freed up
- Re: After retrieving data from DB, the memory doesn't seem to be freed up
- Re: After retrieving data from DB, the memory doesn't seem to be freed up
- Re: After retrieving data from DB, the memory doesn't seem to be freed up
- Re: After retrieving data from DB, the memory doesn't seem to be freed up
- Re: After retrieving data from DB, the memory doesn't seem to be freed up
- Re: After retrieving data from DB, the memory doesn't seem to be freed up
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.