Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Powerball Frequency Analyzer

by jdporter (Canon)
on Feb 17, 2011 at 16:13 UTC ( #888746=note: print w/ replies, xml ) Need Help??


in reply to Re: Powerball Frequency Analyzer
in thread Powerball Frequency Analyzer

Meh. This is elegant:

my $content = get(...); my @accum = ( undef, (\%normals) x 5, \%powers ); for ( split /\n/, $content ) { my @data = split; $accum[$_]{$data[$_]}++ for 1 .. 6; }
I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.


Comment on Re^2: Powerball Frequency Analyzer
Download Code
Replies are listed 'Best First'.
Re^3: Powerball Frequency Analyzer
by Anonymous Monk on Apr 26, 2011 at 14:22 UTC
    PerlMonks - have you ever predicted accurately?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2016-02-10 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (354 votes), past polls