I just started using PERL 1 week ago and I am a programming newbee. Please Help as my company project is relying on this.
The Situation:
I would like to open an XML file, in this example is Library.xml and edit the XML document using a specific "ISBN" number. After the ISBN number is found, I would like to change the number of pages for the particular book with the matching "ISBN" number.
The Problem:
now, I can do the above but, I need to save the updated XML with the same name "library.xml" and also maintaining the XML structure of the original XML document. This is where I am stumped. I have tried using XML::DUMPER, and XML::TWIG and may others but have failed. The output does not reflect the original XML structure.
PLease help.