http://www.perlmonks.org?node_id=1063597


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.

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