AW: How to Suppress Error Messages 2006-07-28 - By Selke, Gisbert W.
Back Aaron, > -- --Urspr?ngliche Nachricht-- -- > Von: Aaron Huber [mailto:ashuber@(protected)] > 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
-- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/perl?unsub=mysql@(protected)
|
|