I think it would be easier to ask DBI to throw the exceptions with RaiseError => 1 than to dutifuly test the return values and throw $sth->errstr.
In reply to Re: Is this too clever? (or, stupid DBI tricks)
by Jenda
in thread Is this too clever? (or, stupid DBI tricks)
by grinder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |