Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 perusing the Monastery: (3)
As of 2020-03-31 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (186 votes). Check out past polls.

    Notices?