in reply to How do i determine if an XML array element exists in a hash?
The error message tells you that you've got an array and you're trying to use it as a hash. Try using Data::Dumper to print the data structure you have and that'll make it easier to see where your problem is, and how to access the data.
Also, I don't know what library you're using to parse the XML, but you may need to review the documentation and configure it to return what you want/expect if needed.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
---|