PrintError (boolean, inherited) This attribute can be used to force errors to generate warnings (using warn) in addition to returning error codes in the normal way. When set ``on'', any method which results in an error occuring will cause the DBI to effectively do a warn("$class $method failed: $DBI::errstr") where $class is the driver class and $method is the name of the method which failed. E.g., DBD::Oracle::db prepare failed: ... error text here ... By default, DBI->connect sets PrintError ``on''. If desired, the warnings can be caught and processed using a $SIG{__WARN__} handler or modules like CGI::Carp and CGI::ErrorWrap.