Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 cooling their heels in the Monastery: (8)
As of 2014-07-29 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (215 votes), past polls