But, that's not what you care about. XML::Parser was a huge portion of this application. Parsing XML is one of the harder things you can do. Let's say that takes about 1500 lines to do. (It's actually much more than that, but who's counting?)
Well, *I'm* counting ;-) You use XML parsing as the canonical example, and I appreciate how XML::LibXML simplifies my life (mostly because Perl simplifies my life), but it's not that difficult to parse an XML document using libxml2's native interface.
Personally, most of my large apps are down in the 80-85% range
This will help explain why I said your previous statement was patently false. You said 90% of *every* program. The reason that rubbed me wrong is because it can't be true. I re-use a lot. I was just curious as to how much other folks tend to re-use. That's all.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.