We don't bite newbies here... much | |
PerlMonks |
Re: hashref with(out) arraysby virtualsue (Vicar) |
on Nov 21, 2017 at 10:49 UTC ( [id://1203871]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|