paperlined.org
dev > perl > modules > documentation
document updated 2 years ago, on May 27, 2022

ways I like to personally use the Perl debugger

This command tells the debugger to ALWAYS show the context around the current line. It make it much easier to do "n" and "s" while still knowing where you're at, at all times.

{ v

It uses perl5db.pl's "do pre-prompt command" feature.

To make this change permanent, put this in your ~/.perldb:

DB::cmd_prepost('{{', 'v', undef);