Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: What is true and false in Perl?

by tobyink (Canon)
on Apr 16, 2012 at 16:37 UTC ( #965353=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    -0.0
    
  2. or download this
    perl -E'say(-0.0 eq 0?"eq 0":"ne 0"); say(-0.0?"true":"false");'
    ne 0
    false
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2023-03-20 13:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?