in reply to XMLin : Optimal Way to tell the difference between Array vs Scalar

If you're going to use XML::Simple, you should read this node on how to use it responsibly (it also provides a solution to your original problem).

Probably also worth looking at this node for weaning yourself off XML::Simple and onto something better.

  • Comment on Re: XMLin : Optimal Way to tell the difference between Array vs Scalar

Replies are listed 'Best First'.
Re^2: XMLin : Optimal Way to tell the difference between Array vs Scalar
by Jenda (Abbot) on Aug 21, 2008 at 19:24 UTC

    Talking about other options, this node might also be worth a read. It would require less changes from the code using XML::Simple, yet if needed can be turned into a stream-based parser handling the document in as small pieces as required.