Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: For whom would you vote, if you were an American?

by gaal (Parson)
on Nov 03, 2004 at 14:30 UTC ( #404898=note: print w/replies, xml ) Need Help??


in reply to Re^2: For whom would you vote, if you were an American?
in thread For whom would you vote, if you were an American?

Shouldn't that be:

{ local $am_american = 1; #pretend we're american, even if we aren't if ($am_american) { who_vote(@candidate); } }
Otherwise this code leaks citezenship. Or causes identity confusion; in any case, it looks like a bug.

Replies are listed 'Best First'.
Re^4: For whom would you vote, if you were an American?
by Anonymous Monk on Nov 05, 2004 at 06:24 UTC
    I note that there is no return value from who_vote()... intentional?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-06-14 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (62 votes). Check out past polls.

    Notices?