Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Reading a particular xml

by Corion (Patriarch)
on Aug 14, 2015 at 19:33 UTC ( [id://1138634]=note: print w/replies, xml ) Need Help??


in reply to Reading a particular xml

The short answer is: Don't use XML::Simple.

The longer answer is: Show us your code.

The long answer is: Sometimes, in your input XML, there is an element that never repeats, and in other input XML, it repeats. Because XML::Simple makes some guesses about your XML, it is sometimes wrong. Use the ForceArray parameter to tell XML::Simple about which elements you think should repeat.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-04-19 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found