Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: XML::Simple => XMLout()

by Anonymous Monk
on Sep 07, 2011 at 18:07 UTC ( #924634=note: print w/ replies, xml ) Need Help??


in reply to Re: XML::Simple => XMLout()
in thread XML::Simple => XMLout()

The first line of the XML data was <opt> and the last line of the XML data was </opt>.

That looks like a valid matching pair of opening and closing tags to me. Not sure I follow why you're suggesting that the OP to change <opt> to <opt/>, which in my opinion would leave an orphaned </opt> tag at the end.

Am I missing something?


Comment on Re^2: XML::Simple => XMLout()
Select or Download Code
Replies are listed 'Best First'.
Re^3: XML::Simple => XMLout()
by Khen1950fx (Canon) on Sep 07, 2011 at 18:36 UTC
    You're not missing something. I have to agree with you. To get it to work with XMLin though, that's what I had to do. I originally put the xml under __DATA__: I had to use <opt/> for that; however, I just noticed that when I call the xml as a file, then <opt> works as it should. Sorry for the confusion.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2015-07-29 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls