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


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

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


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.