Suppressing DBD Error messages
From: Gohaku (gohaku_at_earthlink.net)
Date: 01/28/04
- Next message: Tim Bunce: "Re: Compile of DBD Solid and run time error"
- Previous message: Robert: "Re: DBI install on WinNT problems"
- Next in thread: Tim Bunce: "Re: Suppressing DBD Error messages"
- Reply: Tim Bunce: "Re: Suppressing DBD Error messages"
- Reply: Michal Kurowski: "Re: Suppressing DBD Error messages"
- Reply: Jeff Holt: "RE: Suppressing DBD Error messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dbi-users@perl.org Date: Tue, 27 Jan 2004 20:38:14 -0500
Hi everyone,
I'm sorry if this question has been asked before but
I would like to know of a way to suppress error messages like:
'DBD::mysql::st execute failed: Duplicate entry.... at line 40'
I have tried the following:
$res = $insert->execute() or die "Not Inserted\n";
and...
$dbh->{RaiseError} = 0;
but those do not work.
Thanks in advance.
-Gohaku
- Next message: Tim Bunce: "Re: Compile of DBD Solid and run time error"
- Previous message: Robert: "Re: DBI install on WinNT problems"
- Next in thread: Tim Bunce: "Re: Suppressing DBD Error messages"
- Reply: Tim Bunce: "Re: Suppressing DBD Error messages"
- Reply: Michal Kurowski: "Re: Suppressing DBD Error messages"
- Reply: Jeff Holt: "RE: Suppressing DBD Error messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]