That's an invalid value for KeyAttr. You need to use KeyAttr=>[] or KeyAttr=>{} to override the default.
That said, your code doesn't produce the desired output even with this fix.
In reply to Re^2: XML::Simple parsing into a hash wierd behaviour
by ikegami
in thread XML::Simple parsing into a hash wierd behaviour
by jthomas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |