Rolf,
If need that much control over error messages, I'd leave
RaiseError => 0 and handle status checking within the
application.
Also, a method I use to temporary change RaiseError is
{
local ($sth->RaiseError) = 0;
... my s
PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 06, 2001 2:15 PM
Subject: RaiseError on and off
> I see the example in the Perl DBI book dealing with setting
> RaiseError OFF when connecting, then turning it ON in a block. I am trying
> to do the opposite, with no
Hi:
I see the example in the Perl DBI book dealing with setting
RaiseError OFF when connecting, then turning it ON in a block. I am trying
to do the opposite, with no success.
I connect to the database with RaiseError ON:
my $dbh = DBI->connect(undef, 'login', 'passwd', {RaiseError