>my $ref = $sth->fetchrow_arrayref();
>foreach my $row (@$ref) {
may be you want use just like this
while (my $row = $sth->fetchrow_arrayref() )
OR you can use 'fetchall_arrayref' instead of 'fetchrow_arrayref'.
'fetchrow_arrayref()' fetches the next row of data and returns a reference
to an array holding the field values.
'fetchall_arrayref()' returns a reference to an array that contains one
reference per row.
Confidentiality Notice: This transmittal is a confidential communication. If
you are not the intended recipient, you are hereby notified that you have
received this transmittal in error and that any review, dissemination,
distribution or copying of this transmittal is strictly prohibited. If you have
received this communication in error, please notify this office immediately by
reply and immediately delete this message and all of its attachments, if any.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs