No, you didn't miss anything. I missed one sentence in your OP, that you wanted name as the key - you said that you didn't like the output from the single element case.
My focus was on making the multi-element case to produce a more consistent result as the single element case ;-)
Hope this puts both of us on the same page.
In reply to Re^3: XML::Simple parsing into a hash wierd behaviour
by PeterPeiGuo
in thread XML::Simple parsing into a hash wierd behaviour
by jthomas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |