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

Re^2: The best "true zero" is...

by ikegami (Pope)
on Jul 28, 2010 at 16:35 UTC ( #851749=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -wle'print "0 but true" eq "0E0" ?1:0'
    0
    
  2. or download this
    $ perl -wle'print 0+"0 but true"'
    0
    ...
    
    $ perl -wle'print "0E0" ?"true":"false"'
    true
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://851749]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2016-12-08 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (143 votes). Check out past polls.