Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: splitting files by number of words

by si_lence (Deacon)
on Aug 06, 2009 at 13:26 UTC ( #786421=note: print w/replies, xml ) Need Help??


in reply to Re^2: splitting files by number of words
in thread splitting files by number of words

or you could just use
$total_words += split while(<DATA>);
cheers, si_lence

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://786421]
help
Chatterbox?
[stevieb]: it's a long day when you want to make changes to a project and the entire test suite takes 2 hours to fully run :)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-03-26 22:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.