On 8/30/06, Mark Stosberg <[EMAIL PROTECTED]> wrote:
Regarding The S06 description of 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).

Go down one section and read "List parameters". (I agree that it's not
particularly explicit, and there probably should be a mention of it
under "Named parameters".)

A06 also says:

"A hash declaration like *%named indicates that the %named hash should
slurp up all the remaining named arguments (that is, those that aren't
bound explicitly to a specific formal parameter)."

This description should probably be copied to the Synopsis.

Maybe it's the slurpy hash?

sub foo (*%h) {...} ?



Reply via email to