Ing. Branislav Gerzo [IBG], on Tuesday, February 22, 2005 at 13:06
(+0100) wrote these comments:

IBG> but it is good way ? It will not consume memory ?

I'll try to be more exact:

when I run this code:
my $sth = $dbh->prepare_cached("select id, name from table");
my $sth = $dbh->$sth->execute();

it will eats all of my memory

If I run this code:
while ( my $ha = $dbh->selectrow_hashref("select id, url from table") ) { print 
Dumper($ha) }

it will eats all of my memory.

-- 

 ...m8s, cu l8r, Brano.

[Bother! said Pooh discovering he was anatomically incorrect.]




Reply via email to