note
goibhniu
<p>
Don't reinvent the wheel; there are traps in tryign to do this yourself from scratch. I swear I found SLOC in a cpan module once, but I can't seem to find it now. If I come up with a productive search term I'll re-reply.
</p>
<p>
<em>update: </em> [cpan://Text::Diff]
</p>
<p>
Here's another free tool that promises alot, though I haven't tried it myself: <br /><a href="http://www.dwheeler.com/sloccount/">SLOCCount</a>
</p>
<div class="pmsig"><div class="pmsig-632330">
<hr />
<font size='1'>
#my sig used to say 'I humbly seek wisdom. '. Now it says:<br />
use strict;<br />
use warnings;<br />
I humbly seek wisdom.
</font>
</div></div>
750357
750357