Simon Cozens wrote:

> This would have to take account of the fact that Perl's tokeniser is
> aware of what's going on in the rest of perl. Consider
> 
>     print foo;
> 
> What should the tokeniser return for "foo"? Is it a bareword? Is it a
> subroutine call? Is it a class? Is it - heaven forbid - a filehandle?
> Well, it could be any of these things. You have to choose.


No you don't.  The decision of what to make of this bareword can be deferred.

Reply via email to