The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Data::Tersify::perldb - override the standard perl debugger's behaviour

SYNOPSIS

 # In your .perldb file
 use Data::Tersify::perldb;

 # The x command now automatically passes data through
 # Data::Tersify::tersify

DESCRIPTION

This is a very simple convenience module that implements a DB::afterinit method that patches the x command so it effectively means x Data::Tersify::tersify(...) instead. Import it from your .perldb file to have the output of x tersified automatically.

If you already have a DB::afterinit method, or would prefer other things to be tersified, just cut and paste the appropriate code.

Many thanks to Ovid, whose .perldb file was an inspiration and a useful guide.