KeyAttr => 1 is wrong. The value should be an array ref or a hash ref. In this case, you want KeyAttr => []
ForceArray => 1 is overkill. ForceArray => [qw( car footnote )] would be more appropriate
In reply to Re^2: Accessing attributes in XML::Simple
by ikegami
in thread Accessing attributes in XML::Simple
by sherab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |