nmerriweather has asked for the wisdom of the Perl Monks concerning the following question:
which does exactly what i want - sets a var if the sql command fails, so I can handle the error with more granularity than handler error$query->execute() || { $SQL_FAIL = 1 };
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Catching DBI (or other) errors
by clinton (Priest) on Mar 08, 2006 at 11:17 UTC | |
by duckyd (Hermit) on Mar 08, 2006 at 16:32 UTC | |
by Crackers2 (Parson) on Mar 08, 2006 at 18:20 UTC | |
by clinton (Priest) on Mar 09, 2006 at 10:31 UTC | |
Re: Catching DBI (or other) errors
by virtualsue (Vicar) on Mar 08, 2006 at 11:24 UTC | |
Re: Catching DBI (or other) errors
by nmerriweather (Friar) on Mar 08, 2006 at 21:51 UTC |