DB::Pluggable::Plugin::DataPrinter - Debugger plugin to use Data::Printer
$ cat ~/.perldb use DB::Pluggable; DB::Pluggable->run_with_config(\<<EOINI) [DataPrinter] EOINI $ perl -d foo.pl Loading DB routines from perl5db.pl version 1.28 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. DB<1> c (or s, or n, or whatever) ... DB<2> p %foo
This debugger plugin exposes Data::Printer's p command to the debugger. Use the ~/.dataprinter file to control the output - see Data::Printer for details.
p
~/.dataprinter
Defines a debugger alias for the p command.
To install DB::Pluggable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DB::Pluggable
CPAN shell
perl -MCPAN -e shell install DB::Pluggable
For more information on module installation, please visit the detailed CPAN module installation guide.