Skip to content


Subversion checkout URL

You can clone with
Download ZIP
colored pretty-print of Perl data structures and objects
Perl Perl6
Failed to load latest commit information.
examples Fixing whitespaces errors
lib documented caveat of p() in variable declarations (vividsnow++)
t fixed leaking env in tests (tsibley++)
xt Testin that source code has no whitespaces errors
.travis.yml Added file .travis.yml
Changes bumping up version and changes file for a new release
MANIFEST.SKIP .pl files under /examples are ok
Makefile.PL moving issues to github moving git to markdown
ignore.txt Initial commit


Data::Printer is a Perl module to pretty-print Perl data structures and objects in full color. It is meant to display variables on screen, properly formatted to be inspected by a human.

Data::Printer is highly customizable, from indentation size to depth level. You can even rename the exported p() function!

Data::Printer also lets you create filters to help debugging your objects easily.


# from CPAN $ cpan Data::Printer

# from cpanm $ cpanm Data::Printer

# cloning the repository $ git clone git://

# manual installation, after downloading perl Build.PL ./Build ./Build test ./Build install


use Data::Printer; p $data;

Please refer to for complete documentation, or type:

perldoc Data::Printer

after the installation.


You can also look for information at:

RT, CPAN's request tracker

AnnoCPAN, Annotated CPAN documentation

CPAN Ratings

Search CPAN


Copyright (C) 2011 Breno G. de Oliveira

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See for more information.

Something went wrong with that request. Please try again.