I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-03-06 19:38:45-08 by grantm in response to 7280
Re: Need Help with ForceArray

XML::Simple represents one XML element as a hash. If you have two elements with the same XML tag name then they will be represented as an array of hashes. 'Folding' refers to transforming the array of hashes into a hash of hashes where the hash key is the value of a common attribute. In your example XML (which is badly malformed), the item elements do not all have a common 'name' - some have name and some have exec.

I suggest you read this article and if you have further problems, ask on PerlMonks rather than on this site.

http://www.perlmonks.org/index.pl?node_id=218480

Direct Responses: Write a response