in reply to dbi: selectrow_arrayref
But if we pass the statement handle to selectrow_arrayref it is throwing error.Which error? Please post the code which produces the error and the exact error message.
my $dbh = DBI->connect("dbi:...", $user, $pass); my $sql= "select ... from ..."; my $sth = $dbh->prepare($sql); my $row = $dbh->selectrow_arrayref($sth);
|
|---|