Data::Tersify::perldb - override the standard perl debugger's behaviour
# In your .perldb file
# The x command now automatically passes data through
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.
To install Data::Tersify, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.