|
|
| Just another Perl shrine | |
| PerlMonks |
Re^2: Counting wordsby zdog (Priest) |
| on Sep 13, 2004 at 15:26 UTC ( #390582=note: print w/ replies, xml ) | Need Help?? |
|
I modified your code a little to fit the problem description slightly better:
As a side note, is there a reason to use [^\s] rather than \S, or is it just a matter of preference? Thanks. Zenon Zabinski | zdog | zdog@perlmonk.org
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||