in reply to Re: Re: XML::Simple forcearray problem
in thread XML::Simple forcearray problem

From the XML::Simple docs on importing ':strict':
the following common mistakes will be detected and treated as fatal errors: Failing to explicitly set the KeyAttr option - if you can't be bothered reading about this option, turn it off with: KeyAttr => [] ...

It's not the forcearray that's giving you the problem, its the lack of KeyAttr.

Also note that you don't need two 'use XML::Simple' lines. One is plenty.

Replies are listed 'Best First'.
Re^4: XML::Simple forcearray problem
by vitalipom (Initiate) on Feb 04, 2018 at 12:28 UTC
    Thanks! Indeed, very helped me.