Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Challenge: A malicious election

by kyle (Abbot)
on Jun 12, 2008 at 15:12 UTC ( #691679=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    foreach my $who ( @winner_first ) {
        printf "%10s : %d\n", $who, $tally_for{$who}->[0];
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
    foreach my $who ( @winner_first ) {
        printf "%10s : %d\n", $who, $tally_for{$who};
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2014-12-20 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (99 votes), past polls