List:MySQL and Perl« Previous MessageNext Message »
From:Gisbert W. Selke Date:July 28 2006 2:57pm
Subject:AW: How to Suppress Error Messages
View as plain text  
> -----Ursprüngliche Nachricht-----
> Von: Aaron Huber [mailto:ashuber@stripped]
> Gesendet: Freitag, 28. Juli 2006 16:47
> I would like to know how to spress error messages like this one from going
> to standard output in my perl scripts.
> DBD::mysql::st execute failed: Duplicate entry '0871540770' 
> for key 2 at
> line 106.
See the DBI man page, section "Attributes common to all handles", and look
up the attributes PrintError and RaiseError. The attributes Warn and
HandleError might also be worth a look.

How to Suppress Error MessagesAaron Huber28 Jul
AW: How to Suppress Error MessagesGisbert W. Selke28 Jul