in reply to Keeping Perl DBI Quiet
It is possible to turn of both of them off. This is dangerous because it is easy to forget to check a database call and wonder why your code is not working. I suggest turning off error reporting only for the statements you know might fail:
{ local $dbh->{RaiseError} = 0; local $dbh->{PrintError} = 0; $dbh->do($sql_that_might_fail); }
|
|---|