Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by Smylers (Pilgrim)
on Jun 20, 2005 at 08:39 UTC ( #468249=note: print w/ replies, xml ) Need Help??


in reply to Re: The best "true zero" is...
in thread The best "true zero" is...

The one true zero is just 0. No plusses, dashes, letters, spaces or any other superfluous fluff.

Ah, but this poll isn't about the one true "zero" but about the best "true zero" — of the various values in Perl which are zero in numeric context but true in boolean context, which do you like best?

Just "0" fails cos it's false, not true; you need some of that "superfluous fluff" to make it a "true zero".

Smylers


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-07-12 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls