http://www.perlmonks.org?node_id=1007784


in reply to Re: Overflow of $DBI::rows
in thread Overflow of $DBI::rows

I'm trying to avoid doing the separate SELECT COUNT(*). What we are performing is:
my $sth = $dbh->prepare("UPDATE ...;") or die DBI::errstr; $sth->execute or die DBI::errstr; printf "Rows: %s\n", $sth->rows;
and $sth->rows is returning a negative number.