Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: parsing a file to get the count alone

by Hofmator (Curate)
on Nov 07, 2006 at 10:32 UTC ( #582602=note: print w/ replies, xml ) Need Help??


in reply to Re: parsing a file to get the count alone
in thread parsing a file to get the count alone

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.


Comment on Re^2: parsing a file to get the count alone
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://582602]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (14)
As of 2015-07-31 12:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls