http://www.perlmonks.org?node_id=404898


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?