Ken Fox wrote:

I've been assuming that a keyword will only have
meaning in contexts where the keyword is valid.
Given the shiny new top-down grammar system, there's
no requirement for keywords to be global. (Context
sensitive keywords fall out of Perl 6 grammars
naturally -- just the opposite of yacc.)

Is this a valid assumption?
Sure. It's a valid assumption for Perl 5:

	sub print {
	    my ($print, @print) = @_;
	    ${print}->{print}->print(@{print});
	}


so I'm sure it will be for Perl 6 too.

Damian

Reply via email to