perl-Data-Dump-SortKeys - Data::Dump but lets you custom sort hash keys

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Data-Dump-SortKeys-0.04-alt1.noarch.rpm
Package name perl-Data-Dump-SortKeys
Package version 0.04
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 46.51 KB
Installed size 46.51 KB
An experimental fork of Data::Dump 1.23 which lets you custom sort hash keys
and dump coderefs.
This module provide a few functions that traverse their
argument and produces a string as its result.  The string contains
Perl code that, when `eval'ed, produces a deep copy of the original
The main feature of the module is that it strives to produce output
that is easy to read.  Example:
@a = (1, [2, 3], {4 => 5});
"(1, [2, 3], { 4 => 5 })"
If you dump just a little data, it is output on a single line. If
you dump data that is more complex or there is a lot of it, line breaks
are automatically added to keep it easy to read.
The following functions are provided (only the dd* functions are exported by default):
=item dump( ... )
=item pp( ... )
Returns a string containing a Perl expression.  If you pass this
string to Perl's built-in eval() function it should return a copy of
the arguments you passed to dump().
If you call the function with multiple arguments then the output will
be wrapped in parenthesis "( ..., ... )".  If you call the function with a
single argument the output will not have the wrapping.  If you call the function with
a single scalar (non-reference) argument it will just return the
scalar quoted if needed, but never break it into multiple lines.  If you
pass multiple arguments or references to arrays of hashes then the
return value might contain line breaks to format it for easier
reading.  The returned string will never be "\n" terminated, even if
contains multiple lines.  This allows code like this to place the
semicolon in the expected place:
print '$obj = ', dump($obj), ";\n";
If dump() is called in void context, then the dump is printed on
STDERR and then "\n" terminated.  You might find this useful for quick
debug printouts, but the dd*() functions might be better alternatives
for this.
There is no difference between dump() and pp(), except that dump()
shares its name with a not-so-useful perl builtin.  Because of this


Package Version Architecture Repository
perl-Data-Dump-SortKeys - - -


Name Value
/usr/share/perl5 -
perl(B/ -
perl(Data/Dump/ -
perl(Data/Dump/ -
perl( -
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(Data/Dump/ = 0.040
perl-Data-Dump-SortKeys = 0.04-alt1


Type URL
Binary Package perl-Data-Dump-SortKeys-0.04-alt1.noarch.rpm
Source Package perl-Data-Dump-SortKeys-0.04-alt1.src.rpm

Install Howto

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



See Also

Package Description
perl-Data-DumpXML-1.06-alt2_8.noarch.rpm Dump arbitrary perl data structures as XML
perl-Data-Dumper-Again-0.01-alt2.noarch.rpm An OO alter ego for Data::Dumper
perl-Data-Dumper-AutoEncode-0.3-alt2.noarch.rpm Dump with recursive encoding
perl-Data-Dumper-AutoEncode-scripts-0.3-alt2.noarch.rpm Data-Dumper-AutoEncode scripts
perl-Data-Dumper-Compact-0.004001-alt1.noarch.rpm Vertically compact width-limited data formatter
perl-Data-Dumper-Concise-Aligned-0.25-alt1.noarch.rpm even less indentation plus string prefix
perl-Data-Dumper-EasyOO-0.0503-alt1.noarch.rpm wraps DD for easy use of various printing styles
perl-Data-Dumper-HTML-0.0.2-alt1.noarch.rpm perl module Data-Dumper-HTML
perl-Data-Dumper-Hash-0.001-alt1.noarch.rpm the keys being the names of the variables and the values being the actual value to be dumped so you
perl-Data-Dumper-LispLike-0.004-alt1.noarch.rpm Dump perl data structures formatted as Lisp-like S-expressions
perl-Data-Dumper-MessagePack-0.002-alt1.noarch.rpm Dump MessagePack
perl-Data-Dumper-MessagePack-scripts-0.002-alt1.noarch.rpm Data-Dumper-MessagePack scripts
perl-Data-Dumper-Names-0.03-alt1_32.noarch.rpm Data::Dumper like module for printing and eval data structures
perl-Data-Dumper-OneLine-0.06-alt1.noarch.rpm Dumps data as one line string
perl-Data-Dumper-Perltidy-0.03-alt1.noarch.rpm Dump and pretty print Perl data structures