Aug 24, 2016, 6:19 AM
Post #2 of 3
Please do not post your question in multiple areas. I've deleted you duplicate post.
Re: [Jesjoshan] txt/XMl (two input files) to XML
[In reply to]
We are not a free code writing service, so we're not going to do your homework assignment for you.
We will help you troubleshoot your code, but you need to explain how your code fails to do what you want.
You should not be using regex's to parse xml. Instead you should be using one of the XML parsers on CPAN.
You should not be using prototypes in your subs.
You should be using lexical vars for the filehandles and the 3 arg form of open.
(This post was edited by FishMonger on Aug 24, 2016, 6:20 AM)