in reply to Is this too clever? (or, stupid DBI tricks)
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is this too clever? (or, stupid DBI tricks)
by dsheroh (Monsignor) on Jan 05, 2008 at 18:06 UTC | |
by Jenda (Abbot) on Jan 05, 2008 at 19:38 UTC |