| Module Info
| Add a review of XML-TreePP
XML-TreePP is a great module. Due to a diverse set of platforms I need to run scripts on, I required a simple pure perl xml parser. Where others failed or were a pain, this little puppy pulled through brilliantly. It worked painlessly (and flawlessly) on an old tru64 machine with perl 5.0 ;-)
Extremely simple and straight-forward.
When XML::Simple couldn't deal with my "mixed" tree - it took me 30 seconds to switch over to this. It immediately worked, and handled my "complex" tree very well. Kudos!
The reasons why I chose XML::TreePP module is:
- It is Pure PERL (major reason)
- The Hash structure of the parsed XML file is easy to understand and use.
- The XML attributes are identified with a - or @ prefix (some XML parser perl modules do not identify the attributes at all or not in a good way.)
I wanted something that was the easiest to install for all users at any understanding level. And which would not be a roadblock to using my modules which now depend on it.
I wrote Getopt::XML, which uses XML::TreePP and my other module XML::TreePP::XMLPath. XML::TreePP is not only fast and easy to use, but makes my applications more portable and easier to install.
The only XML parser I got working on dia output on the first try. The documentation is nice and complete (which is always a good sign). the implementation is pure Perl which is practical when you can't or don't want to install external libraries.