AW: How to Suppress Error Messages
"Selke, Gisbert W." <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Aaron, > -----Ursprüngliche Nachricht----- > Von: Aaron Huber [mailto:[email 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/[email protected]