in reply to Re: Re: DBI conditional insert (and things of those nature)
in thread DBI conditional insert (and things of those nature)
True, though I'm not a big fan a RaiseError in production code (as it sorta hides what you are trying to do). But the original code had a bare execute() outside of an eval block, and this is the key step that would be need an error check if the unique ID route was taken.
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important
|
---|
Replies are listed 'Best First'. | |
---|---|
On using RaiseError
by lachoy (Parson) on Jan 26, 2002 at 09:51 UTC | |
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