I can't say why your method would not work but I can say I have not had a problem at all with the "or die" method above.$sth->execute() or die "SQL query failed: $sth->errstr \n$sql";
In reply to Re: Can't crack a DBI Error:
by spartacus9
in thread Can't crack a DBI Error:
by Hammy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |