TSa (Thomas Sandlaß) wrote:
> Can't we have that as a general feature of all operators?
> That is:
>
>my ($x, $y);
>
>say $x * $y; # prints 1
>say $x + $y; # prints 0
>
> It is a cleaver idea to make the operator choose an appropriate
> value for a Nothing value. Why having that only
On Wednesday, 1. October 2008 21:54:12 [EMAIL PROTECTED] wrote:
> If you apply an assignment operator to a protoobject, it is assumed that
> you are implementing some kind of notional "reduction" to an accumulator
> -variable. To that end, the base operator is dropped and a simple
> -assignment
Author: larry
Date: Wed Oct 1 12:54:11 2008
New Revision: 14585
Modified:
doc/trunk/design/syn/S03.pod
Log:
Revision to accumulator semantics so that -= dwims
Modified: doc/trunk/design/syn/S03.pod
==
--- doc/trunk/