|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: One out of three ain't bad (order)by tye (Cardinal) |
| on Oct 22, 2005 at 05:49 UTC ( #502182=note: print w/ replies, xml ) | Need Help?? |
|
Avoid the obfuscating punctuation:
Or, using a more versatile trick:
But note that some will kvetch that the fact of !0 == 1 is "not defined" in Perl. But that ship has already sailed; practicality actually prevents Perl from changing the value of "true" to something other than 1, even if this property was intentionally left undefined. - tye
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||