On Thu, Aug 11, 2005 at 01:24:11AM +0800, Autrijus Tang wrote:
: On Wed, Aug 10, 2005 at 10:12:45AM -0700, Larry Wall wrote:
: > We can get away with this in Perl 6 because bindings to positionals
: > happen lazily.  So all we have to check for syntactically is that we
: > don't have a subsequent declaration that changes the syntax from list
: > to unary (or none-ary).
: 
: Just to be sure, this form from Perl5:
: 
:     sub foo ($$) { ... }
: 
: is then no longer available to the parser?

I suspect the minimum is

    sub foo ($,$) { ... }

these days just to keep the parser sane.  But I could be wrong.

Larry

Reply via email to