Howdy, dear anonymous monk,
Can't call method "convert" on an undefined value at 1097409.pl line 1 +0.
could you be so kind and actually post working code that shows the problem you're having? The monks are more than happy to help you, but we'd rather not fix up unrelated issues with your code first.
In the same vein, the XML snippet you posted is not well-formed (the last line should be </Players> instead).
That said, here's some tips for solving your problem: Be sure to read the documentation for XML::Simple and familiarize yourself with the kind of data structures it returns. Use Data::Dumper or a similar module to get an idea of what the data you're getting for YOUR file looks like. And finally, keys is your friend when iterating over hashes.
In reply to Re: Map multiple xml tags to array
by AppleFritter
in thread Map multiple xml tags to array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |