I don't want to take anything away from the Webalizer developers
webalizer is open source (GPL). You can either contribute to that cool project and send patches with your enhancements. (If they don't like the direction you take, you can still fork the project without taking anything away from them).
(Update: d'oh, just noticed that I confused webalizer with awstats. Both are open source, but webalizer is written in C, so perhaps not the answer you're looking for.)
BTW the other day I've seen a cool perl project that dumps Apache log files into a sqlite database. Depending on your goals that might help you, you could then do much of your analysis in SQL.
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
or How to display code and escape characters
are good places to start.