http://qs321.pair.com?node_id=92470


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.