Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Re: Re: XML::Simple forcearray problem

by runrig (Abbot)
on Aug 15, 2003 at 16:43 UTC ( #284199=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://284199]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2018-06-18 21:45 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (110 votes). Check out past polls.