Skip to content

tsibley/Data-Printer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

## Data::Printer ##

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.


### INSTALLATION ###

   # from CPAN
   $ cpan Data::Printer

   # from cpanm
   $ cpanm Data::Printer

   # cloning the repository
   $ git clone git://github.com/garu/Data-Printer.git

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


### USAGE ###

   use Data::Printer;
   p $data;

Please refer to http://search.cpan.org/perldoc?Data::Printer for
complete documentation, or type:

   perldoc Data::Printer

after the installation.


### SUPPORT AND DOCUMENTATION ###

You can also look for information at:

    RT, CPAN's request tracker
        http://rt.cpan.org/NoAuth/Bugs.html?Dist=Data-Printer

    AnnoCPAN, Annotated CPAN documentation
        http://annocpan.org/dist/Data-Printer

    CPAN Ratings
        http://cpanratings.perl.org/d/Data-Printer

    Search CPAN
        http://search.cpan.org/dist/Data-Printer/


### LICENSE AND COPYRIGHT ###

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 http://dev.perl.org/licenses/ for more information.

About

colored pretty-print of Perl data structures and objects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%