Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: hashref with(out) arrays

by virtualsue (Vicar)
on Nov 21, 2017 at 10:49 UTC ( #1203871=note: print w/replies, xml ) Need Help??


in reply to hashref with(out) arrays

Since you're probably using XML::Simple, use ForceArray=>1 so the data structure it returns always contain arrays.

https://metacpan.org/pod/XML::Simple#ForceArray-=%3E-1-%23-in-important

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2020-11-01 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (291 votes). Check out past polls.

    Notices?