Or XML::Twig :-)
I wouldn't recommend investing too much time coding to XML::Parser's API. The two standard APIs used by a number of modules are DOM for tree based parsing and SAX for stream based parsing. Use these and you won't be tied to one parser.
Alternatively if you want to write less code, use one of the higher-level Perl-specific APIs like XML::Simple or XML::Twig.
In reply to Re: Re: Parsing XML
by grantm
in thread Parsing XML
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |