in reply to XML::Simple forcearray problem

I don't have it installed, so I can't be certain, but according to the docs the option you want is ForceArray and not forcearray -- it is case sensitive.