in reply to Re^4: XML::Simple troubles
in thread XML::Simple troubles

Argument "#SGStyle" isn't numeric in each at pmonks.pl line 9.
I find this particularly puzzling, because Line 9 doesn't try to use anything as a number, and there is no 'SGStyle' in the XML input file you pasted.

So either your system is totally broken, or you are running the script with different code or data than I do.

The Pseudo-hashes are deprecated suggests that the data structure is an array and you try to use it as a hash.

Replies are listed 'Best First'.
Re^6: XML::Simple troubles
by Corion (Patriarch) on May 26, 2008 at 12:35 UTC

    My guess is that the OP is using a different data file than the one posted and that the solution likely is to use the ForceArray => [...] option as discussed in XML::Simple.