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); }
In reply to Re: Keeping Perl DBI Quiet
by iburrell
in thread Keeping Perl DBI Quiet
by cditty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |