On Tuesday, November 10, 2020 at 3:11:49 PM UTC-6, Keith Thompson wrote:
> Joe <
julian...@gmail.com> writes:
> > My goal was to convert a very large XML file to CSV or tab delimited text.
> > I used these to parse XML file:
> > my $tpp = XML::TreePP->new();
> > my $tree = $tpp->parsefile("$fileName");
> > my $text = Dumper( $tree );
> > but the output was all in JSON format.
> >
> > Is it possible for perl DUMPER to output flat files in csv or tab
> > delimited formats?
> Data::Dumper's output is not JSON. It's Perl syntax. It doesn't seem
> to have any options for producing something else.
Thank you Keith, you hit the key. I will need to re-approach the problem.