On Wed, Jul 21, 2004 at 01:13:29PM -0400, Mark J. Reed wrote:
: On 2004-07-21 at 09:42:44, Larry Wall wrote:
: > Plus it ignores the fact that we've already introduced single character
: > scalar context operators that make it trivial to coerce from list
: > context to scalar.  If {...} supplies list context by default, most
: > intepolations are either the same length or shorter:
: > 
: >     $($foo) {$foo}
: >     @(@foo) [EMAIL PROTECTED]
: >     $(@foo) [EMAIL PROTECTED]
: 
: Memory failure here; the "~" forces string context, right?  Could someone
: please remind me how to spell "binary not" in Perl6?

The mnemonic is that it's like xoring with all ones, so it's C<^>,
except that the bitops are all demoted to needing a "numerifying"
C<+> in front, so it comes out to C<+^>, unless you meant "stringwise
binary not", in which case it's C<~^>.  In either case, there is both
an infix operator for xoring two values, plus a unary operator that
xors with an assumed value of all ones.  In any event, it's all very
regular now, with no dependencies on the prior history of the values
in question (unlike in Perl 5).

Larry

Reply via email to