Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^2: What is true and false in Perl?

by ikegami (Pope)
on Sep 15, 2009 at 18:10 UTC ( #795442=note: print w/replies, xml ) Need Help??

in reply to Re: What is true and false in Perl?
in thread What is true and false in Perl?

"0" is not boolean, and neither is "",

Noone said they are. It was said they are false.

Providing such a 'feature' comes with a very significant readability and maintainability cost that is simply not justified.

That's odd. Perl, Python, PHP, C, C++, JavaScript, VB and the 5 or 6 CPU I know work that way. The only language I know that doesn't is Java.

Replies are listed 'Best First'.
Re^3: What is true and false in Perl?
by Anonymous Monk on Jan 31, 2012 at 17:33 UTC
    Also LISP.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (1)
As of 2018-08-18 14:11 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (185 votes). Check out past polls.