Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Very simple XML::Simple problem

by roboticus (Chancellor)
on Nov 07, 2012 at 16:31 UTC ( #1002691=note: print w/ replies, xml ) Need Help??

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


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.


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

Comment on Re: Very simple XML::Simple problem
Download Code
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 !

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002691]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2015-10-09 22:42 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (253 votes), past polls