I'm pretty sure $sth->execute(...) returns undef if and only if there is an error. From perldoc DBI:
An "undef" is returned if an error occurs. A successful "execute" always returns true regardless of the number of rows affected, even if it’s zero (see below).
In reply to Re^6: Can I get the actual error for DBI->execute() ?
by Danny
in thread Can I get the actual error for DBI->execute() ?
by SergioQ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |