Re: unhead

[email protected] (Randal L. Schwartz)
Newsgroups gmane.comp.lang.perl.fun
Organization Stonehenge Consulting Services; Portland, Oregon, USA
Message-ID <[email protected]>
>>>>> "Keith" == Keith C Ivey <[email protected]> writes:

Keith> Well, I'm sure there's something better than that for golf (Ton 
Keith> probably has a 3-byte solution), but I think x= with a boolean 
Keith> righthand side *is* fun, and it's even handy for one-liners 
Keith> occasionally once you've gotten used to it.

Well, it also presumes that "!" returns literally 0 and 1.  I've
never seen a promise of that in any docs.

I think Perl6 should return "42" for true, just to keep people
from making that presumption.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.