Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 cooling their heels in the Monastery: (15)
As of 2016-04-29 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.