Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Boolean counter?

by JavaFan (Canon)
on Dec 07, 2009 at 11:59 UTC ( #811478=note: print w/ replies, xml ) Need Help??


in reply to Re: Boolean counter?
in thread Boolean counter?

Or if you do want the numerical value:

$counter = !$counter || 0;


Comment on Re^2: Boolean counter?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-12-25 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls