Acme-CPANModules-DumpingDataForDebugging
view release on metacpan or search on metacpan
Author: MSTROUT <https://metacpan.org/author/MSTROUT>
A relatively recent module by MSTROUT. I will need to use this more
to see if I really like the output, but so far I do.
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
(with additional informations/hints as comments) so I've never used
it in my daily coding activities. I probably should though.
JSON::Color
Author: PERLANCAR <https://metacpan.org/author/PERLANCAR>
JSON is a limited format; it cannot represent many things that Perl
supports e.g. globs, circular references, or even ASCII NUL. But if
you are working only with JSON-able data, this JSON dumping module
adds color output.
YAML::Tiny::Color
Author: SHARYANTO <https://metacpan.org/author/SHARYANTO>
FAQ
What is an Acme::CPANModules::* module?
An Acme::CPANModules::* module, like this module, contains just a list
of module names that share a common characteristics. It is a way to
categorize modules and document CPAN. See Acme::CPANModules for more
details.
What are ways to use this Acme::CPANModules module?
Aside from reading this Acme::CPANModules module's POD documentation,
you can install all the listed modules (entries) using cpanm-cpanmodules
script (from App::cpanm::cpanmodules distribution):
% cpanm-cpanmodules -n DumpingDataForDebugging
Alternatively you can use the cpanmodules CLI (from App::cpanmodules
distribution):
% cpanmodules ls-entries DumpingDataForDebugging | cpanm -n
or Acme::CM::Get:
% perl -MAcme::CM::Get=DumpingDataForDebugging -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::DumpingDataForDebugging -E'say $_->{module} for @{ $Acme::CPANModules::DumpingDataForDebugging::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps lcpan produce a more meaningful
result for "lcpan related-mods" command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module. See
App::lcpan::Cmd::related_mods for more details on how "related modules"
are found.
HOMEPAGE
Please visit the project's homepage at
<https://metacpan.org/release/Acme-CPANModules-DumpingDataForDebugging>.
SOURCE
Source repository is at
<https://github.com/perlancar/perl-Acme-CPANModules-DumpingDataForDebugg
ing>.
SEE ALSO
Acme::CPANModules - about the Acme::CPANModules namespace
cpanmodules - CLI tool to let you browse/view the lists
AUTHOR
perlancar <perlancar@cpan.org>
CONTRIBUTING
To contribute, you can send patches by email/via RT, or send pull
requests on GitHub.
Most of the time, you don't need to build the distribution yourself. You
can simply modify the code, then test via:
% prove -l
If you want to build the distribution (e.g. to try to install it locally
on your system), you can install Dist::Zilla,
Dist::Zilla::PluginBundle::Author::PERLANCAR,
Pod::Weaver::PluginBundle::Author::PERLANCAR, and sometimes one or two
other Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps
required beyond that are considered a bug and can be reported to me.
COPYRIGHT AND LICENSE
This software is copyright (c) 2023, 2020 by perlancar
<perlancar@cpan.org>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
BUGS
Please report any bugs or feature requests on the bugtracker website
<https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-Dump
ingDataForDebugging>
When submitting a bug or request, please include a test-file or a patch
to an existing test-file that illustrates the bug or desired feature.
( run in 0.408 second using v1.01-cache-2.11-cpan-b85c58fdc1d )