Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: XML Parser and certain nodes to a hash

by hdb (Prior)
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: (9)
As of 2016-02-11 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (362 votes), past polls