Brent Dax wrote in perl.perl6.language : > I believe that the tokenizer remembers whether it's expecting a binary > operator or Something Else. That's how it handles things like ><FILEHANDLE> vs. numeric less-than (<).
Indeed : that's why
print $FH1 <$FH2>;
produces a syntax error.
--
If strain on the lexer were a design criterion, I blew it long ago.
-- Larry Wall
