though if it doesn't find a "." "?" or "!" in the input file, you'll get a warning:
Use of uninitialized value in addition (+) at line 95.

~monk d4vis

In reply to Re: Word Count Script+ by d4vis
in thread Word Count Script+ by xgunnerx

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":