The stupid question is the question not asked | |
PerlMonks |
Re^2: parsing a file to get the count aloneby Hofmator (Curate) |
on Nov 07, 2006 at 10:32 UTC ( [id://582602]=note: print w/replies, xml ) | Need Help?? |
I guess that is (close to) what Anonymous Monk wanted. Just a small remark, [^\s]+ can be written /S+ in your regex. -- Hofmator Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Seekers of Perl Wisdom
|
|