in reply to How to modify an XML file using XML::DOM
You read the file into memory, and you modify the in-memory copy. Now, what is required to make the changes appear in the file?
Hint: It's the same problem that every simple editor program has, and most editors are smart enough to ask you. Start the editor, open a text file, modify the copy in the editor's part of memory. Exit the editor. What does the editor ask you when attempting to exit?
Second hint: Read the synopsis of XML::DOM.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to modify an XML file using XML::DOM
by ankit.tayal560 (Beadle) on Sep 28, 2016 at 06:23 UTC | |
by haukex (Archbishop) on Sep 28, 2016 at 06:50 UTC | |
by ankit.tayal560 (Beadle) on Sep 28, 2016 at 10:28 UTC | |
by ankit.tayal560 (Beadle) on Sep 28, 2016 at 08:12 UTC |