Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: count of a word occurrence

by sgifford (Prior)
on Mar 23, 2004 at 06:22 UTC ( #338909=note: print w/replies, xml ) Need Help??


in reply to count of a word occurrence

Golfed solution:
perl -lane '$c{$F[0]}++;END{print"$_=$c{$_}"for keys%c}'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2022-01-29 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?