Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by ambs (Pilgrim)
on Apr 19, 2005 at 08:18 UTC ( #449142=note: print w/replies, xml ) Need Help??


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

Not properly this (typo?). The other reply is correct ($x=$y?0:1)

Alberto Simões

  • Comment on Re^2: Better expression for $x = !!$y||0

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2020-10-21 16:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (219 votes). Check out past polls.

    Notices?