in reply to Re: Parsing XML: Not an Array/Hash Reference Error
in thread Parsing XML: Not an Array/Hash Reference Error

Hello SJ,

I should have mentioned in my original post that I was getting the error in the foreach loop. Do you have a suggestion for where I could call Dumper to diagnose the problem?

If I call the node variable $e before the foreach loop it's undefined, but if I call it within, the program fails before Dumper can return a value.

All the best, Leigh
  • Comment on Re^2: Parsing XML: Not an Array/Hash Reference Error