Re: RFC 128 (v1) Subroutines: Extend subroutine contexts to include name parameters and lazy arguments

[email protected] (Damian Conway) Fri, 18 Aug 2000 15:00:10 +1000 (EST)
Newsgroups perl.perl6.language.subs
Message-ID <[email protected]>
   > DC>         * Label an argument such that there is no corresponding named
   > DC>           parameter.
   > 
   > Could this be eased slightly? How about a %rest hash, if supplied
   > in the prototype would absorb the unused named parameters?

Yes, I've been rethinking that in light of my immediately previous posting
about C<with>.

I suspect that this constraint should only be applied under use strict,
or better yet under the influence of a 'strict_args' subroutine attribute.

Damian