develooper Front page | perl.perl6.language | Postings from August 2006

named arguments: What's the signature?

Thread Next
Mark Stosberg
August 29, 2006 17:32
named arguments: What's the signature?
Message ID:

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).

Maybe it's the slurpy hash?

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

The spec could use some clarification on this point.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About