in reply to Re^5: Can I get the actual error for DBI->execute() ?
in thread Can I get the actual error for DBI->execute() ?
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Can I get the actual error for DBI->execute() ?
by Marshall (Canon) on Jun 24, 2024 at 13:16 UTC | |
by Danny (Chaplain) on Jun 24, 2024 at 14:40 UTC | |
by Marshall (Canon) on Jun 24, 2024 at 18:05 UTC |