This isn't fancy, but should do what you want.

my @rows = ();

while (my $row = $sth->fetchrow_hashref()) {
  push @rows, $row;
}



-----Original Message-----
From: Ramon Hildreth [mailto:ramon@;ramonred.net]
Sent: Monday, October 28, 2002 1:09 PM
To: [EMAIL PROTECTED]
Subject: Hashrow into an array


Hi,
I have a hashref called $row, that I would like to load into an array
one row at a time.

My $row = $sth->fetchrow_hashref();

I would like to take each row and push those values into an array.

Anyhelp would be greatly appreciated. Thanks.





---------------------------------------------------------------
[ www.subudusa.org ] [ www.ramonred.net ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to