Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 studying the Monastery: (9)
As of 2014-09-18 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (109 votes), past polls