There's more than one way to do things | |
PerlMonks |
Re: Counting wordsby jbware (Chaplain) |
on Sep 13, 2004 at 14:40 UTC ( [id://390569]=note: print w/replies, xml ) | Need Help?? |
Here is a regex way to grab the first x words for each line (in my example x=4).
-jbWare
In Section
Seekers of Perl Wisdom
|
|