Abhijit A. Mahabal skribis 2004-05-04 10:27 (-0500):
> As I try writing P6 programs I do find myself needing required named
> params, and I thought I'd like something like ++$named_req for myself as a
> shorthand for "+$named_req is required" or whatever is decided.

What's wrong with just specifying them as positional ones? Don't
document the feature and you'll effectively have required named
parameters.

Or am I missing something?

> "the entire P6 grammar"

Are parts already available in Perl 6 rule syntax?


Juerd

Reply via email to