in reply to Re^5: XML::Simple - Duplicate Node Overwrites
in thread XML::Simple - Duplicate Node Overwrites

No, none of

KeyAttr => 'foobar',
KeyAttr => 'test',
KeyAttr => '',
KeyAttr => undef,

are proper usage according to the docs.

Replies are listed 'Best First'.
Re^7: XML::Simple - Duplicate Node Overwrites
by Anonymous Monk on Apr 23, 2011 at 09:29 UTC
    No, none of ... are not proper usage according to the docs.

    Except that they are right in the docs,

    If the option 'KeyAttr => "login"' were used to specify that the 'login' attribute is a key, the same XML would parse to:

    ...

    The key attribute names should be supplied in an arrayref if there is more than one.