Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Better expression for $x = !!$y||0

by pelagic (Priest)
on Apr 19, 2005 at 08:14 UTC ( #449138=note: print w/replies, xml ) Need Help??


in reply to Better expression for $x = !!$y||0

$x = $y ? 1 : 0;
and: timtowtdi ...

pelagic

Replies are listed 'Best First'.
Re^2: Better expression for $x = !!$y||0
by salva (Abbot) on Apr 19, 2005 at 10:08 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://449138]
help
Chatterbox?
[erix]: interesting

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2017-03-23 13:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (286 votes). Check out past polls.