in reply to Re^3: Problems with DBI::trace_msg
in thread Problems with DBI::trace_msg

Well, you should pass an SQL string to $dbh->prepare - may that's the problem?