I have installed DBD::Pg version 2.17.1 but still still getting error while using below code
$res = $conn->prepare($query);
$res = $res->execute();
@tuple = $res->fetchrow_array;
error:
Can't call method "fetchrow_array" without a package or object reference at test.pl line 69.
Please suggest.