in reply to Re^3: SQL in perl/tkin thread SQL in perl/tk
After the connect do DBI->trace(3);, see Tracing for an explanation of trace levels.
Update: See also RaiseError attribute in the DBI docs.
:) You open your browser and point it at the documentation for DBI you hit Ctrl+F button and type "trace" and you find it