Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
laziness, impatience, and hubris
 
PerlMonks  

Re: XML Parser and certain nodes to a hash

by hdb (Parson)
on May 23, 2013 at 09:23 UTC ( #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.


Comment on Re: XML Parser and certain nodes to a hash
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-04-17 08:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (441 votes), past polls