Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by pelagic (Curate)
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


Comment on Re: Better expression for $x = !!$y||0
Download Code
Re^2: Better expression for $x = !!$y||0
by salva (Monsignor) 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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (15)
As of 2014-08-29 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls