Name

trace

Synopsis

DBI->trace(n, filename)

Traces the execution of DBI.

n

An integer indicating the level of trace/debugging information, as follows:

0

Disable the trace.

1

Trace the execution of the DBI.

2

Output detailed call trace information including parameters and return values.

filename

The file to append trace information to

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.