I guess one "downside" to the lib-based XML modules is that they seem to depend on something that you don't get from CPAN:
James Clark's expat toolkit.
Of course, that's an easy thing to get and easy to install -- it took me less than 5 minutes to google it, download it, compile it (just "make"), and move it to /usr/local/expat -- and it's presumably easier on any Windows box, since there are precompiled libs in the package. So having XML::Parser depend on expat is not a problem, I think. (In fact, I'd rather have expat as the guts for an XML parser in Perl -- James Clark is God in this domain.)
For that matter, if people are going to be doing stuff with XML in general anyway, there's no good reason to avoid having "expat" available, just on general principles, whether you use Perl or other things on XML data.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.