Acme-CPANModules-DumpingDataForDebugging
view release on metacpan or search on metacpan
you have. You must make sure that they, too, receive or can get the
source code. And you must tell them their rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
contains a notice placed by the copyright holder saying it may be
the Program under this License. However, parties who have received
copies, or rights to use copies, from you under this General Public
License will not have their licenses terminated so long as such parties
remain in full compliance.
5. By copying, distributing or modifying the Program (or any work based
on the Program) you indicate your acceptance of this license to do so,
and all its terms and conditions.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the original
licensor to copy, distribute or modify the Program subject to these
terms and conditions. You may not impose any further restrictions on the
recipients' exercise of the rights granted herein.
7. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
Copyright Holder, but only to the computing community at large
as a market that must bear the fee.)
"Freely Available" means that no fee is charged for the item
itself, though there may be fees involved in handling the item.
It also means that recipients of the item may redistribute it
under the same conditions they received it.
1. You may make and give away verbatim copies of the source form of the
Standard Version of this Package without restriction, provided that you
duplicate all of the original copyright notices and associated disclaimers.
2. You may apply bug fixes, portability fixes and other modifications
derived from the Public Domain or from the Copyright Holder. A Package
modified in such a way shall still be considered the Standard Version.
3. You may otherwise modify your copy of this Package in any way, provided
that you insert a prominent notice in each changed file stating how and
when you changed that file, and provided that you do at least ONE of the
following:
special characters.
Data::Dump
Author: GARU <https://metacpan.org/author/GARU>
A data dumper that produces nicer Perl code output, with features
like vertical alignment of "=>" when dumping hashes, compacting
sequences like 1,2,3,4,5,6 to 1..6, compacting repeating characters
in string like "ccccccccccccccccccccc" to ("c" x 21), and so on.
It tries harder to produce Perl code that generates the original
data structure, particularly with circular references. But with
interlinked references like trees, Data::Dumper might be more
helpful in showing you which references get mentioned where. For
example this data:
$tree = {children=>[{children=>[{}]}, {children=>[]}]};
$tree->{children}[0]{parent}=$tree;
$tree->{children}[1]{parent}=$tree;
$tree->{children}[0]{children}[0]{parent} = $tree->{children}[0];
XXX Author: INGY <https://metacpan.org/author/INGY>
A nice little dumper module from the creator of YAML. Obviously, it
uses YAML output by default but it's configurable to dump in other
formats. For example:
PERL_XXX_DUMPER=Data::Dump::Color
It's main selling point is that the dumper function returns the
original arguments so the dumping can be done in various places in
code, making it more convenient. More (if not all) dumpers should do
this too.
Data::Printer
Author: GARU <https://metacpan.org/author/GARU>
Favorites among many Perl programmers, it sports colors, array index
indicator, as well as nice object dumper showing methods and
inheritance information. It's also very customizable. It uses its
own format though, and my preference for dumping is the Perl format
lib/Acme/CPANModules/DumpingDataForDebugging.pm view on Meta::CPAN
{
module=>'Data::Dump',
tags => ['perl'],
description => <<'_',
A data dumper that produces nicer Perl code output, with features like vertical
alignment of "=>" when dumping hashes, compacting sequences like 1,2,3,4,5,6 to
1..6, compacting repeating characters in string like "ccccccccccccccccccccc" to
("c" x 21), and so on.
It tries harder to produce Perl code that generates the original data structure,
particularly with circular references. But with interlinked references like
trees, Data::Dumper might be more helpful in showing you which references get
mentioned where. For example this data:
$tree = {children=>[{children=>[{}]}, {children=>[]}]};
$tree->{children}[0]{parent}=$tree;
$tree->{children}[1]{parent}=$tree;
$tree->{children}[0]{children}[0]{parent} = $tree->{children}[0];
Data::Dump will produce:
lib/Acme/CPANModules/DumpingDataForDebugging.pm view on Meta::CPAN
{
module=>'XXX',
tags => ['perl'],
description => <<'_',
A nice little dumper module from the creator of YAML. Obviously, it uses YAML
output by default but it's configurable to dump in other formats. For example:
PERL_XXX_DUMPER=Data::Dump::Color
It's main selling point is that the dumper function returns the original
arguments so the dumping can be done in various places in code, making it more
convenient. More (if not all) dumpers should do this too.
_
},
{
module=>'Data::Printer',
tags => ['perlish'],
description => <<'_',
lib/Acme/CPANModules/DumpingDataForDebugging.pm view on Meta::CPAN
=item L<Data::Dump>
Author: L<GARU|https://metacpan.org/author/GARU>
A data dumper that produces nicer Perl code output, with features like vertical
alignment of "=>" when dumping hashes, compacting sequences like 1,2,3,4,5,6 to
1..6, compacting repeating characters in string like "ccccccccccccccccccccc" to
("c" x 21), and so on.
It tries harder to produce Perl code that generates the original data structure,
particularly with circular references. But with interlinked references like
trees, Data::Dumper might be more helpful in showing you which references get
mentioned where. For example this data:
$tree = {children=>[{children=>[{}]}, {children=>[]}]};
$tree->{children}[0]{parent}=$tree;
$tree->{children}[1]{parent}=$tree;
$tree->{children}[0]{children}[0]{parent} = $tree->{children}[0];
Data::Dump will produce:
lib/Acme/CPANModules/DumpingDataForDebugging.pm view on Meta::CPAN
=item L<XXX>
Author: L<INGY|https://metacpan.org/author/INGY>
A nice little dumper module from the creator of YAML. Obviously, it uses YAML
output by default but it's configurable to dump in other formats. For example:
PERL_XXX_DUMPER=Data::Dump::Color
It's main selling point is that the dumper function returns the original
arguments so the dumping can be done in various places in code, making it more
convenient. More (if not all) dumpers should do this too.
=item L<Data::Printer>
Author: L<GARU|https://metacpan.org/author/GARU>
Favorites among many Perl programmers, it sports colors, array index indicator,
as well as nice object dumper showing methods and inheritance information. It's
( run in 0.614 second using v1.01-cache-2.11-cpan-f985c23238c )