You should read the XML::Simple documentation about the ForceArray parameter.
In reply to Re^3: XML dynamic nesting !! by Corion in thread XML dynamic nesting !! by onkar