1 message in com.mysql.lists.perlAW: How to Suppress Error Messages
FromSent OnAttachments
Selke, Gisbert W.28 Jul 2006 07:56 
Subject:AW: How to Suppress Error Messages
From:Selke, Gisbert W. (Gisb@wido.bv.aok.de)
Date:07/28/2006 07:56:43 AM
List:com.mysql.lists.perl

Aaron,

-----Ursprüngliche Nachricht----- Von: Aaron Huber [mailto:ashu@gmail.com] 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 ysearch.pl 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.

\Gisbert