in reply to Re: Re: Re: DBI conditional insert (and things of those nature)
in thread DBI conditional insert (and things of those nature)
I strongly disagree about RaiseError. It forces you to wrap every DBI call in an eval block. While people are free to ignore $@ after the block, those same people are much more likely to not do any error checking at all. The eval block at least turns on the siren that they should be doing something, much like try/catch blocks in Java.
All MO, of course :-)
Chris
M-x auto-bs-mode
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: On using RaiseError
by Masem (Monsignor) on Jan 26, 2002 at 17:53 UTC | |
by little (Curate) on Jan 26, 2002 at 18:52 UTC |
In Section
Seekers of Perl Wisdom