paperlined.org
dev > perl > modules > documentation
document updated 5 months ago, on Aug 6, 2025

DBI's tracing facilities

There are a couple things you should read first, in the official DBI documentation:

For a CGI script, I typically do this:

The generated log files are a bit hard to read. This Vim syntax file makes reading them slightly easier:

An example session of me focusing on the SQL statements that were run:

More verbose:

Even more verbose, which includes the data returned in the result set: