http://www.perlmonks.org?node_id=1004918


in reply to Re: Adding Elements to XML
in thread Adding Elements to XML

have a structure to deal with that is not-quite what your code was hard-coded to expect.

hardcode an xpath or hardcode something else -- if it changes, your code will change, duh