Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Golf: Count unique words

by eyepopslikeamosquito (Canon)
on Dec 01, 2004 at 06:36 UTC ( #411382=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Golf: Count unique words
in thread Golf: Count unique words

Sh?aving seven strokes:

#!/usr/bin/perl -lp ++$t,++$w{$_}for/\w+/g}for(map("$_ ($w{$_})",sort keys%w),$t){


Comment on Re^3: Golf: Count unique words
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-12-21 22:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (108 votes), past polls