Subject: | one little mistake in "Asynchronous Queries" example |
Hi! There is one little mistake in "Asynchronous Queries" example (
http://search.cpan.org/dist/DBD-Pg/Pg.pm#Asynchronous_Queries )
[..]
if ($dbh->pg_ready()) {
$res = pg_result();
print "Result of do(): $res\n";
}
[..]
Just add "$dbh->" to pg_result();