Re: RFC 21 (v2) Subroutines: Replace C with a generic C function

2000-09-19 Thread Damian Conway
> > $primary_context = want 'LIST', 2, 'LVALUE'; > > So these arguments can be passed in any order, and want checks them? I > like it. But I worry if you say something like: > >my 42 @stuff = get_data; > > And get_data looks like: > >sub get_data {

Re: RFC 21 (v2) Subroutines: Replace C with a generic C function

2000-09-19 Thread Nathan Wiger
Great changes, Damian! I'm just going to check on some clarification: > When C is called with arguments in a scalar context: > > $primary_context = want 'LIST', 2, 'LVALUE'; So these arguments can be passed in any order, and want checks them? I like it. But I worry if you say something

Re: RFC 21 (v2) Subroutines: Replace C with a generic C function

2000-09-19 Thread Michael G Schwern
On Tue, Sep 19, 2000 at 07:47:58AM -, Perl6 RFC Librarian wrote: > Subroutines: Replace C with a generic C function Just as long as I can still say: return want 'LIST' ? @some_array : $some_scalar; I'll be happy. And, of course, want 'LVALUE'. -- Michael G Sch

RFC 21 (v2) Subroutines: Replace C with a generic C function

2000-09-19 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Subroutines: Replace C with a generic C function =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 6 Aug 2000 Last Modified: 18 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 21