in reply to DBI::rows
I believe the $sth->execute method returns the number of rows or -1 if no rows affected.
You may also want to try the $sth->rows method.
You may also want to try the $sth->rows method.
In Section
Seekers of Perl Wisdom
in reply to DBI::rows