in reply to in Perl 0 != 0 ... and this is good
How does the following line make sense?
If ("one" + 0 != 0) then in my book ("one" != 0), right?print qq|"one" != 0| unless "one" + 0 != 0; # prints: "one" != 0
So you are printing that ("one" != 0) unless ("one" != 0)?
That's wrong. I think you actually proved that ("one" == 0) in both cases.
Update: Ah, he has seen the error of his ways already... He is now proving that ("one" == 0) and is yet non-NULL.
buckaduck
|
|---|