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 2006-08-29 22:57:02-07 by grantm in response to 2863
Re: Can't use string as HASH ref

The problem is that the data structure you're iterating is not the same as the one you dump out at the beginning. If you called Dumper after XMLin() rather than before XMLout() then this would be clear.

The reason the data structure is different is because you haven't specified a value for the ForceArray option. This article should help you understand what's going on.

PS: the Perlmonks site is a much better place to get your questions answered.

Direct Responses: Write a response