Group
Extension

Matches 1

Data-Tubes ( P/PO/POLETTIX/Data-Tubes-0.740.tar.gz, POLETTIX, 2022; MetaCPAN )
Data-Tubes/lib/Data/Tubes/Manual.pod ( view source; MetaCPAN )
allows you to handle multiple cases. For example, suppose
that instead of YAML you want to output JSON; you might start with this:

   use Data::Tubes qw< pipeline >;
   pipeline(
      ['Source::iter
ta-04.txt >]);

There's a problem though: for more than one input record, the output is
not valid JSON:

   {"name":"Foo","nick":"foorious","age":32}
   {"name":"Bar","nick":"barious","age":19}
   {"n
item *

you still have to figure out how to print out the separator comma!

=back

Unfortunately, JSON is quite picky in the presence of separator commas,
in that it does not allow you to have a trail

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.