Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: XML Parser and certain nodes to a hash

by hdb (Monsignor)
on May 23, 2013 at 09:23 UTC ( [id://1034917]=note: print w/replies, xml ) Need Help??


in reply to XML Parser and certain nodes to a hash

XML::Simple has a ForceArray option that is helpful: http://search.cpan.org/~grantm/XML-Simple-2.20/lib/XML/Simple.pm#ForceArray_=>_1_#_in_-_important

UPDATE: your xml also has an extra </SYNSET> which troubles the parser.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found