new

Constructs a debug printer object.

AUTOLOAD

Logs all calls to the printer object.

as_perl_code

Returns all calls to the printer as perl code.