in reply to Re^2: XML::Simple - repeated child elements does not give list of hashes
in thread XML::Simple - repeated child elements does not give list of hashes

Most things in perl are case sensitive. So: use 'ForceArray', not 'forcearray'.

Replies are listed 'Best First'.
Re^4: XML::Simple - repeated child elements does not give list of hashes
by isync (Hermit) on Mar 25, 2007 at 18:35 UTC
    I know! Actually I found out that with my version 2.03 of XML::Simple only "forcearray" works, as it is case-sensitive to lc! ;-)

    But I just solved the problem myself. A missing keyattr (in lower case btw) was it. Using XMLin() with "forcearray => 'node', keyattr => 'node' did the trick!

    Anyway, big thanks to the monks of perl. May this thread grow the wisdom in the monastery...