The stupid question is the question not asked | |
PerlMonks |
Re^2: problem in XML parsingby ikegami (Patriarch) |
on Mar 22, 2008 at 05:29 UTC ( [id://675589]=note: print w/replies, xml ) | Need Help?? |
I don't like XML::Simple. Remove a team from the sample data and you get
Remove a player from ONE and you'll get
The call to XMLin for this schema should be *at least*
And then there's ForceContent. XML::Simple is deceptively complex to use because it returns data in an unpredictable format, forcing you to use ref all over the place or to specify arguments to tell it what it already knows but chooses to destroy. All that because XML::Simple assumes attributes and elements are interchangeable. (Are they ever?)
In Section
Seekers of Perl Wisdom
|
|