logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Data::Dump::OneLine - Dump data structures as single-line strings

Author

       perlancar <perlancar@cpan.org>

Bugs

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

       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.

Contributor

       Steven Haryanto <sharyanto@cpan.org>

Description

       It now uses Data::Dmp. You should use Data::Dmp directly.

Homepage

       Please visit the project's homepage at <https://metacpan.org/release/Data-Dump-OneLine>.

Name

       Data::Dump::OneLine - Dump data structures as single-line strings

See Also

       JSON should also encode to a single-line string, but some data structures (cyclical, contains globs or
       other special Perl data) cannot be encoded out of the box to JSON.

       Data::Dumper::OneLine strives to do the same for Data::Dumper, but last time I tried it (at v0.05) it's
       still buggy.

Source

       Source repository is at <https://github.com/perlancar/perl-Data-Dump-OneLine>.

Synopsis

        use Data::Dump::OneLine; # exports dd and dmp
        $str = dd(@list);

Version

       This document describes version 0.080 of Data::Dump::OneLine (from Perl distribution Data-Dump-OneLine),
       released on 2021-06-27.

See Also