Re: RFC 132 (v1) subroutines should be able to return an lvalue
[email protected] ("David L. Nicol") Mon, 21 Aug 2000 23:06:44 +0000
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Organization | University of Missouri - Kansas City supercomputing infrastructure |
| Message-ID | <[email protected]> |
Perl6 RFC Librarian wrote: > > As a thought guide: think of C<lreturn> 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! macrodef lreturn(*) return \* Of course without reference reasonableizing, we've got problems. Looks like a case for automatic dereferencing!