RFC 132 (v2) Subroutines should be able to return an lvalue

2000-08-21 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Subroutines should be able to return an lvalue =head1 VERSION Maintainer: Johan Vromans <[EMAIL PROTECTED]> Date: Aug 18, 2000 Last Modified: Aug 21, 2000 Version: 2 Mailing List: [EMAIL PROTECTED

Re: RFC 132 (v1) subroutines should be able to return an lvalue

2000-08-21 Thread David L. Nicol
Perl6 RFC Librarian wrote: > > As a thought guide: think of C returning a reference to its > argument, and the call to lvsub() performing a dereference. Thought guide? Given a macro language and reference reasonablizing, this looks like you've just compeltely defined lreturn! macrod

Re: RFC 132 (v1) subroutines should be able to return an lvalue

2000-08-21 Thread David L. Nicol
>From rfc 98: > =head2 acceptable coercions > > When resolving which method C to call in a context CTXT, and there > is no method C defined for the context CTXT, Perl will examine > the types listed in C<@CTXT::ISA{OVERLOAD_CONTEXTS}> for a list > of other contexts > to see if C can produc