Re: named arguments: What's the signature?

2006-08-29 Thread Mark Stosberg
Trey Harris wrote: > > > Slurpy parameters follow any required or optional parameters. They are > marked by a C<*> before the parameter: > > sub duplicate($n, *%flag, [EMAIL PROTECTED]) {...} > > Named arguments are bound to the slurpy hash (C<*%flag> > in the above example). Such

Re: named arguments: What's the signature?

2006-08-29 Thread Stuart Cook
On 8/30/06, Mark Stosberg <[EMAIL PROTECTED]> wrote: Regarding The S06 description of named arguments: http://feather.perl6.nl/syn/S06.html#Named_arguments What I find missing here is documentation of the signature to use if you want to declare "I accept an arbitrary number of named arguments".

Re: named arguments: What's the signature?

2006-08-29 Thread Trey Harris
In a message dated Tue, 29 Aug 2006, Mark Stosberg writes: Regarding The S06 description of named arguments: http://feather.perl6.nl/syn/S06.html#Named_arguments What I find missing here is documentation of the signature to use if you want to declare "I accept an arbitrary number of named argu

named arguments: What's the signature?

2006-08-29 Thread Mark Stosberg
Regarding The S06 description of named arguments: http://feather.perl6.nl/syn/S06.html#Named_arguments What I find missing here is documentation of the signature to use if you want to declare "I accept an arbitrary number of named arguments". (Like the param() methods common in Perl5 do). Maybe