Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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: (6)
As of 2014-08-31 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls