in reply to Re^3: removing perldata , hashref from XML file
in thread removing perldata , hashref from XML file
Hi,
Many Thanks for answering me, would you mind please give me a guide where in the code i should add the return value?
!/usr/bin/perl -w use strict; use warnings; use Data::Dumper; use XML::Dumper; use TAP3::Tap3edit; $Data::Dumper::Indent=1; $Data::Dumper::Useqq=1; my $dump = new XML::Dumper; use File::Basename; my $perl=''; my $xml=''; my $tap3 = TAP3::Tap3edit->new(); foreach my $file(glob 'X*') { my $files= basename($file); my $filename=$files.".xml\n"; print $filename; $tap3->decode($files) || die $tap3->error; $perl = $tap3->structure; $dump->pl2xml($perl, $filename); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: removing perldata , hashref from XML file
by AnomalousMonk (Archbishop) on May 16, 2020 at 05:49 UTC | |
by SaraMirabi (Novice) on May 16, 2020 at 05:54 UTC | |
Re^5: removing perldata , hashref from XML file
by haukex (Archbishop) on May 16, 2020 at 06:06 UTC | |
by SaraMirabi (Novice) on May 16, 2020 at 06:25 UTC |