<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Text::DSV - DSV parser and serializer.

SYNOPSIS
     my $obj = Text::DSV-&gt;new;
     my @data_lines = $obj-&gt;parse($data);
     my @data_line = $obj-&gt;parse_line($line);
     my $string = $obj-&gt;serialize(@data_lines);
     my $line_string = $obj-&gt;serialize_line(@data_line);

METHODS
    "new"
             Constructor.

    "parse($data)"
             Parse all data.
             Returns array of arrays of data.

    "parse_line($line)"
             Parse one line.
             Returns array of data.

    "serialize(@data_lines)"
             Serialize all data.
             Returns string.

    "serialize_line(@data_line)"
             Serialize one line.
             Returns line string.

EXAMPLE1
     # Pragmas.
     use strict;
     use warnings;

     # Modules.
     use Dumpvalue;
     use Text::DSV;

     # Object.
     my $dsv = Text::DSV-&gt;new;

     # Parse data.
     my @datas = $dsv-&gt;parse(&lt;&lt;'END');
     1:2:3
     # Comment
 
     4:5:6
     END

     # Dump data.
     my $dump = Dumpvalue-&gt;new;
     $dump-&gt;dumpValues(\@datas);

     # Output like this:
     # 0  ARRAY(0x8fcb6c8)
     #    0  ARRAY(0x8fd31a0)
     #       0  1
     #       1  2
     #       2  3
     #    1  ARRAY(0x8fd3170)
     #       0  4
     #       1  5
     #       2  6

EXAMPLE2
     # Pragmas.
     use strict;
     use warnings;

     # Modules.
     use Text::DSV;

     # Object.
     my $dsv = Text::DSV-&gt;new;

     # Serialize.
     print $dsv-&gt;serialize(
            [1, 2, 3],
            [4, 5, 6],
     );

     # Output:
     # 1:2:3
     # 4:5:6

SEE ALSO
    Text::CSV
        comma-separated values manipulator (using XS or PurePerl)

REPOSITORY
    &lt;https://github.com/tupinek/Text-DSV&gt;

AUTHOR
    Michal إ&nbsp;paؤچek &lt;mailto:skim@cpan.org&gt;

    &lt;http://skim.cz&gt;

LICENSE AND COPYRIGHT
     آ© 2011-2015 Michal إ&nbsp;paؤچek
     BSD 2-Clause License

VERSION
    0.10

</pre></body></html>