in reply to [Solved] Very simple XML::Simple problem

mascip:

The docs for XML::Simple mention that you can control the root element with the RootName option. Setting it to undef or the empty string should make it leave off the root elements. Using another value should change the name "opt" to the specified name.

Caveat: I've not played with it, I'm just spouting off info from the docs.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^2: Very simple XML::Simple problem
by mascip (Pilgrim) on Nov 07, 2012 at 16:45 UTC

    I skipped this part of the doc apparently. Thanks a lot to you two !