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

Changes for version 1.1.0 - 2022-12-22

  • NEW FEATURES:
    • new option 'coderef_stub' letting you customize what to show on non-deparsed coderefs (default: 'sub { ... }')
    • new option 'coderef_undefined' that checks if a given coderef points to an existing reference at the time of inspection. Defaults to '<undefined coderef>'. Set to 0 to disable this check.
    • basic Object::Pad support.
    • new option class.show_wrapped to expose methods modified with before, after, around (Moose only for now)
    • new option 'quiet' to avoid traversal and silence all output from p() and np().
    • new option 'live_update' to reload .dataprinter whenever you make changes to it, applying them without needing to restart your code.
  • BUG FIXES:
    • properly shows inherited Moo(se) attributes.
    • fix $@ clobbering when checking available modules.
    • class.sort_methods also sorts attributes and roles.
    • improved color reset.
    • $DDP::VERSION is now hardcoded to avoid issues with PAUSE.

Modules

DDP
Data::Printer shortcut for faster debugging
colored & full-featured pretty print of Perl data structures and objects
Load run-control (.dataprinter) files for Data::Printer
Create powerful stand-alone filters for Data::Printer
detect popular (binary) content in strings
pretty-printing database objects (DBI, DBIx::Class, etc)
pretty-printing date and time objects (not just DateTime!)
pretty-printing MD5, SHA and many other digests
pretty-printing of HTTP/JSON/LWP/Plack/Dancer/Catalyst/Mojo...
underlying object for Data::Printer
customize your Data::Printer with code
use DDP like Data::Dumper
dump variables in JSON format
create your own color themes for DDP!
Classic DDP color theme for nostalgic users
Material theme for DDP
Monokai theme for DDP
Solarized theme for DDP

Provides

in lib/Data/Printer/Common.pm
in lib/Data/Printer/Filter/ARRAY.pm
in lib/Data/Printer/Filter/CODE.pm
in lib/Data/Printer/Filter/FORMAT.pm
in lib/Data/Printer/Filter/GLOB.pm
in lib/Data/Printer/Filter/GenericClass.pm
in lib/Data/Printer/Filter/HASH.pm
in lib/Data/Printer/Filter/REF.pm
in lib/Data/Printer/Filter/Regexp.pm
in lib/Data/Printer/Filter/SCALAR.pm
in lib/Data/Printer/Filter/VSTRING.pm