Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Boolean counter?

by Corion (Pope)
on Dec 07, 2009 at 08:06 UTC ( #811442=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $counter = $counter xor 1
    
  2. or download this
    $counter ^= 1
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2016-06-29 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (368 votes). Check out past polls.