Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: XML Array/Hash Issue

by hdb (Prior)
on Nov 20, 2013 at 20:19 UTC ( #1063597=note: print w/ replies, xml ) Need Help??


in reply to XML Array/Hash Issue

Should you be using XML::Simple, then check the documentation for the ForceArray attribute. It will enforce that even single elements will be stored as array references.


Comment on Re: XML Array/Hash Issue
Download Code
Replies are listed 'Best First'.
Re^2: XML Array/Hash Issue
by nickt9999 (Acolyte) on Nov 20, 2013 at 22:39 UTC
    Many thanks, that's exactly what I needed

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2015-07-31 20:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (281 votes), past polls