Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: What is true and false in Perl?

by tobyink (Abbot)
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
Node Status?
node history
Node Type: note [id://965353]
help
Chatterbox?
[NetWallah]: /stevieb I dont understand - the poster had a very legitimate issue, and expressed it clearly. WHat did you have a problem with?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2017-02-23 14:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (347 votes). Check out past polls.