in reply to Re^2: XML::LibXML - WHAR HASH TREES WHAR?!
in thread XML::LibXML - WHAR HASH TREES WHAR?!
XML::Simple has been regarded as the easier of the two.
XML::Simple is the hardest XML parser to use.
is$smart->{book}('@')
orref($simple->{book}) && ref($simple->{book}) eq 'ARRAY' ? $simple->{book} : [ $simple->{book} ]
ForceArray => [qw( book )] # In constructor $simple->{book}
XML::Smart appears to be an attempt to fix this problem of XML::Simple. (It still suffers from other problems of XML::Simple.)
|
|---|