"be consistent" | |
PerlMonks |
Re: Parsing two XML at the same time and align themby Discipulus (Canon) |
on May 17, 2018 at 11:49 UTC ( [id://1214728]=note: print w/replies, xml ) | Need Help?? |
Hello corfuitl, > Any suggestions? Yes! avoid XML::Simple I'm used with XML::Twig and you can profit twig_handler to trap your id You can use a hash to store results, as in: $res{ $filename."\t".$id } = [] so during the parsing of the two files you can push there first result from file1 and then results from file2. L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|