Acme-CPANModules-DumpingDataForDebugging

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


        *   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.

        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:

README  view on Meta::CPAN

    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.

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=>[]}]};

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

=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
("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=>[]}]};

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


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

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-DumpingDataForDebugging>

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.

=cut



( run in 0.285 second using v1.01-cache-2.11-cpan-4d50c553e7e )