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

[email protected] (Chaim Frenkel) 20 Aug 2000 00:38:49 -0400
Newsgroups perl.perl6.language.subs
Message-ID <[email protected]>
Or the lack of a %rest?

<chaim>

>>>>> "DC" == Damian Conway <[email protected]> writes:

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?

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

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




-- 
Chaim Frenkel					     Nonlinear Knowledge, Inc.
[email protected]				               +1-718-236-0183