Larry Wall wrote:
> I was thinking more along the lines of:
>
> $x &&& $y
> $x ||| $y
I very much like the new suggested uses for C<&> and C<|>, and making
the rarely-useful bitwise ops be longer to type.
But I'm not keen on trippled symbols: I reckon it's two easier to muddle
them wit
: > But then there's ~ vs ~~~ too.
:
: That gave me an idea. What about using the tilde as the first character
: in bitwise ops?
:
: $x ~& $y # bitwise and
: $x ~| $y # bitwise or
:
: ~!$x # bitwise not
I think I like that. Except now we'll get things like:
@x ^~|= @y;
Hmm
On Tue, 15 Oct 2002, Luke Palmer wrote:
: > In Perl, variable names always begin with a special character called
: > a sigil,
:
: Ahem, "funny character." The Camel glossary has no entry for "sigil"
: (though I realize it's common terminology).
"Sigil" is fine these days.
Larry
Larry Wall wrote:
> : $x ~& $y # bitwise and
> : $x ~| $y # bitwise or
> :
> : ~!$x # bitwise not
>
> I think I like that. Except now we'll get things like:
>
> @x ^~|= @y;
>
> Hmm...and then there's:
>
> $a ~? $b ~: $c
I don't think they're too problematic. Most peop