Re: RFC 20 (v1) Overloadable && and ||

2000-08-08 Thread Martyn Pearce
On Tue, Aug 08, 2000 at 01:42:40AM +, Nate Mueller wrote: > Along the same line it would be useful to be able to overload the "truth > operator" (bad word, I'm sorry). It's great to be able to do: > > if ($var1 && $var2)... > > But if you also want to do: > > if ($var1)..

Re: Reduce [was: Re: Random items (old p5p issues)]

2000-08-04 Thread Martyn Pearce
On Fri, Aug 04, 2000 at 08:16:17AM +1000, Jeremy Howard wrote: > Martyn J. Pearce wrote: > > <...> what I would like to discuss adding to the language is > > > > 1) a means to signal an early exit to the iterator, > > 2) a means to tell we're at the end of a list without having to > > evaluate the

Re: perl 6 requirements

2000-08-02 Thread Martyn Pearce
Randal L. Schwartz writes: | > "Chaim" == Chaim Frenkel <[EMAIL PROTECTED]> writes: | | Chaim> It's the overloading of the ',' operator. | | Just like the overloading of the @ARRAY_NAME operator or the | getpwuid() operator. Perhaps you are back to merely complaining about | all context-s