Sophie

Sophie

distrib > PLD > th > ppc > by-pkgid > 37b85093a454f806ba44c0534ff91115

perl-Data-Dumper-Concise-2.021-1.noarch.rpm

Description:

This module always exports a single function, Dumper, which can be
called with a single reference value to dump that value or with no
arguments to return the Data::Dumper object it's created.

It exists, fundamentally, as a convenient way to reproduce a set of
Dumper options that we've found ourselves using across large numbers
of applications, primarily for debugging output.

The principle guiding theme is "all the concision you can get while
still having a useful dump and not doing anything cleverer than
setting Data::Dumper options" - it's been pointed out to us that
Data::Dump::Streamer can produce shorter output with less lines of
code. We know. This is simpler and we've never seen it segfault. But
for complex/weird structures, it generally rocks. You should use it as
well, when Concise is underkill. We do.

Why is deparsing on when the aim is concision? Because you often want
to know what subroutine refs you have when debugging and because if
you were planning to eval this back in you probably wanted to remove
subrefs first and add them back in a custom way anyway. Note that this
-does- force using the pure perl Dumper rather than the XS one, but
I've never in my life seen Data::Dumper show up in a profile so "who
cares?".

Other version of this rpm: