Brandon (>), Carl (>>):
>> $ ./perl6 -e '//'
>> Syntax error at line 1, near "//"
>>
>> Could be something nicer, in line with "The empty pattern is now
>> illegal." from S05.
>
> But can that really be easily distinguished from the C<//> operator?

Yes, I believe so. The C<//> operator never occurs where a term is
expected (it being binary), and a regexp term never occurs where a
binary operator is expected.

// Carl

Reply via email to