Dan Sugalski wrote:
> 
>    @a = @b | @c;
> 
> nothing short-circuits but then you don't expect it to, and that's more or 
> less OK. The and operation would likely return the left-hand value if both 
> are true, and xor would return whichever of the two were true, or undef of 
> both (or neither) were true.

First, from a language pov, these can all be implemented on reduce.

Second, I think 'and' should select the item vrom @c, not @b.

-- 
John Porter

        We're building the house of the future together.

Reply via email to