in reply to $sth = $dbh->prepare($sql) or what?

In addition to what others had said you might find HandlError useful. If you want to see all the things you can find out about an error look at DBIx::Log4perl module's error handler (look for _error_handler sub in DBIx::Log4perl::db.

  • Comment on Re: $sth = $dbh->prepare($sql) or what?