perl-Data-Printer - colored pretty-print of Perl data structures and objects

Property Value
Distribution ALT Linux Sisyphus
Repository Classic noarch
Package name perl-Data-Printer
Package version 0.40
Package release alt1
Package architecture noarch
Package type rpm
Installed size 114.08 KB
Download size 114.08 KB
Official Mirror
Want to see what's inside a variable in a complete, colored
and human-friendly way?
use Data::Printer;   # or just "use DDP" for short
p @array;            # no need to pass references
Code above might output something like this (with colors!):
[0] "a",
[1] "b",
[2] undef,
[3] "c",
You can also inspect objects:
my $obj = SomeClass->new;
Which might give you something like:
\ SomeClass  {
Parents       Moose::Object
Linear @ISA   SomeClass, Moose::Object
public methods (3) : bar, foo, meta
private methods (0)
internals: {
_something => 42,
Data::Printer is fully customizable. If you want to change how things
are displayed, or even its standard behavior. Take a look at the
available customizations. Once you figure out
your own preferences, create a
configuration file for
yourself and Data::Printer will automatically use it!
That's about it! Feel free to stop reading now and start dumping
your data structures! For more information, including feature set,
how to create filters, and general tips, just keep reading :)
Oh, if you are just experimenting and/or don't want to use a
configuration file, you can set all options during initialization,
including coloring, identation and filters!
use Data::Printer {
color => {
'regex' => 'blue',
'hash'  => 'yellow',
filters => {
'DateTime' => sub { $_[0]->ymd },
'SCALAR'   => sub { "oh noes, I found a scalar! $_[0]" },
The first `{}' block is just syntax sugar, you can safely ommit it
if it makes things easier to read:
use DDP colored => 1;
use Data::Printer  deparse => 1, sort_keys => 0;


Package Version Architecture Repository
perl-Data-Printer - - -


Name Value
/usr/share/perl5 -
perl( -
perl(B/ -
perl(Clone/ -
perl( -
perl(File/ >= 0.910
perl(File/ -
perl(Hash/Util/ -
perl(Package/ >= 0.300
perl(Scalar/ -
perl(Sort/ -
perl(Term/ >= 3.0
perl( -
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl( = 0.400
perl(Data/ = 0.400
perl(Data/Printer/ -
perl(Data/Printer/Filter/ -
perl(Data/Printer/Filter/ -
perl(Data/Printer/Filter/ -
perl-Data-Printer = 0.40-alt1


Type URL
Binary Package perl-Data-Printer-0.40-alt1.noarch.rpm
Source Package perl-Data-Printer-0.40-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch classic
    rpm [Sisyphus] noarch classic
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Data-Printer rpm package:
    # sudo apt-get install perl-Data-Printer




2017-08-02 - Igor Vlasenko <> 0.40-alt1
- automated CPAN update
2017-05-09 - Igor Vlasenko <> 0.39-alt1
- automated CPAN update
2016-02-10 - Igor Vlasenko <> 0.38-alt1
- automated CPAN update
2015-10-16 - Igor Vlasenko <> 0.36-alt1
- automated CPAN update
2013-12-04 - Igor Vlasenko <> 0.35-alt2
- uploaded to Sisyphus as Scalar-Does dependency
2013-09-30 - Igor Vlasenko <> 0.35-alt1
- initial import by package builder

See Also

Package Description
perl-Data-Random-0.13-alt1.noarch.rpm Perl module to generate random data
perl-Data-Rmap-0.65-alt1_6.noarch.rpm Recursive map, apply a block to a data structure
perl-Data-Section-0.200007-alt1.noarch.rpm Perl module to read multiple hunks of data out of DATA section
perl-Data-Section-Simple-0.07-alt1.noarch.rpm Data::Section::Simple - Read data from __DATA__
perl-Data-Serializer-0.60-alt1.noarch.rpm Data::Serializer - Modules that serialize data structures
perl-Data-Show-0.002004-alt1.noarch.rpm Dump data structures with name and point-of-origin
perl-Data-TreeDumper-0.40-alt2.noarch.rpm dumps any data structure
perl-Data-TreeDumper-Renderer-GTK-0.02-alt2.noarch.rpm Rendering plug-in for Data::TreeDumper
perl-Data-Types-0.16-alt1.noarch.rpm Data-Types - validating and converting data types functions for Perl5
perl-Data-Uniqid-0.12-alt2.noarch.rpm Perl extension for simple genrating of unique id's
perl-Data-Validate-0.09-alt1.noarch.rpm Common data validation methods
perl-Data-Validate-Domain-0.14-alt1.noarch.rpm Domain validation methods Perl module
perl-Data-Validate-IP-0.27-alt1.noarch.rpm Perl IP address validation routines
perl-Data-Validate-URI-0.07-alt1.noarch.rpm Common url validation methods
perl-Data-Validator-1.07-alt1.noarch.rpm Rule based validator on type constraint system