Acme-CPANModules-DumpingDataForDebugging

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         },
         {
            "class" : "Dist::Zilla::Plugin::ShareDir",
            "name" : "@Author::PERLANCAR/@Filter/ShareDir",
            "version" : "6.030"
         },
         {
            "class" : "Dist::Zilla::Plugin::MakeMaker",
            "config" : {
               "Dist::Zilla::Role::TestRunner" : {
                  "default_jobs" : 1
               }
            },
            "name" : "@Author::PERLANCAR/@Filter/MakeMaker",
            "version" : "6.030"
         },
         {
            "class" : "Dist::Zilla::Plugin::Manifest",
            "name" : "@Author::PERLANCAR/@Filter/Manifest",
            "version" : "6.030"
         },

META.yml  view on Meta::CPAN

      name: '@Author::PERLANCAR/@Filter/ExecDir'
      version: '6.030'
    -
      class: Dist::Zilla::Plugin::ShareDir
      name: '@Author::PERLANCAR/@Filter/ShareDir'
      version: '6.030'
    -
      class: Dist::Zilla::Plugin::MakeMaker
      config:
        Dist::Zilla::Role::TestRunner:
          default_jobs: 1
      name: '@Author::PERLANCAR/@Filter/MakeMaker'
      version: '6.030'
    -
      class: Dist::Zilla::Plugin::Manifest
      name: '@Author::PERLANCAR/@Filter/Manifest'
      version: '6.030'
    -
      class: Dist::Zilla::Plugin::ConfirmRelease
      name: '@Author::PERLANCAR/@Filter/ConfirmRelease'
      version: '6.030'

README  view on Meta::CPAN

    This list catalogs some of the modules you can you to dump your data
    structures for debugging purposes, so the modules will be judged mostly
    by the appropriateness of its output for human viewing (instead of other
    criteria like speed, footprint, etc).

ACME::CPANMODULES ENTRIES
    Data::Dumper
        Author: NWCLARK <https://metacpan.org/author/NWCLARK>

        Everybody knows this module and it's core so sometimes it's the only
        appropriate choice. However, the default setting is not really
        optimized for viewing by human. I suggest you tweak these before
        dumping your data:

        *   Set $Data::Dumper::Useqq to 1.

        By default, Data::Dumper quotes strings using single-quotes and does
        not quote things like "\n" and "\b" making it difficult to spot
        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.

README  view on Meta::CPAN


    Data::Dumper::Compact
        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

lib/Acme/CPANModules/DumpingDataForDebugging.pm  view on Meta::CPAN

speed, footprint, etc).

_
    entries => [
        {
            module=>'Data::Dumper',
            tags => ['perl'],
            description => <<'_',

Everybody knows this module and it's core so sometimes it's the only appropriate
choice. However, the default setting is not really optimized for viewing by
human. I suggest you tweak these before dumping your data:

* Set $Data::Dumper::Useqq to 1.

By default, <pm:Data::Dumper> quotes strings using single-quotes and does not
quote things like "\n" and "\b" making it difficult to spot special characters.


_
        },

        {
            module=>'Data::Dump',
            tags => ['perl'],
            description => <<'_',

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.

_
        },

lib/Acme/CPANModules/DumpingDataForDebugging.pm  view on Meta::CPAN


=head1 ACME::CPANMODULES ENTRIES

=over

=item L<Data::Dumper>

Author: L<NWCLARK|https://metacpan.org/author/NWCLARK>

Everybody knows this module and it's core so sometimes it's the only appropriate
choice. However, the default setting is not really optimized for viewing by
human. I suggest you tweak these before dumping your data:

=over

=item * Set $Data::Dumper::Useqq to 1.

=back

By default, L<Data::Dumper> quotes strings using single-quotes and does not
quote things like "\n" and "\b" making it difficult to spot special characters.


=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

lib/Acme/CPANModules/DumpingDataForDebugging.pm  view on Meta::CPAN


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.


=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>



( run in 0.549 second using v1.01-cache-2.11-cpan-0a6323c29d9 )