in reply to Re^2: XML::Simple - Make arrays out of class attribute
in thread XML::Simple - Make arrays out of class attribute

Easier how? KeyAttr => [] is just the defaultjust like the default in this case. This is exactly the input on which my transformation code works.

Replies are listed 'Best First'.
Re^4: XML::Simple - Make arrays out of class attribute
by mtths (Initiate) on Sep 16, 2008 at 08:09 UTC
    as per XML::Simple documentation:
    Note 1: The default value for 'KeyAttr' is ['name', 'key', 'id'].

      You're right. I mispoke slightly. It should have been

      KeyAttr => [] is just like the default in this case.