The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DB::Pluggable::Plugin::DataPrinter

VERSION

version 1.12

SYNOPSIS

    $ cat ~/.perldb

    use DB::Pluggable;
    DB::Pluggable->run_with_config( \<<EOINI );
    [DataPrinter]
    output = 'stdout'
    theme = Monokai
    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

DESCRIPTION

This debugger plugin exposes Data::Printer's p command to the debugger. Use the ~/.dataprinter file to control the output, or add options to the [DataPrinter] section in .perldb - see Data::Printer for details.

NAME

DB::Pluggable::Plugin::DataPrinter - Debugger plugin to use Data::Printer

METHODS

initialize

Defines a debugger alias for the p command.

AUTHORS

  • Keith Carangelo <mail@kcaran.com>

  • Marcel Gruenauer <marcel@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2008 by Marcel Gruenauer <marcel@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.