Re: RFC 132 (v1) subroutines should be able to return an lvalue
[email protected] ((Johan Vromans)) 18 Aug 2000 21:13:49 +0200
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Message-ID | <[email protected]> |
[email protected] (Randal L. Schwartz) writes: > So is that something we've agreed, that lvalue subs are *always* > scalars? That'd mean we can move on to the various implementation > details. :) I think scalars play a super-normal role already. E.g., hashes and arrays can hold only scalar values. The restriction to scalars may be a small one, especially when it makes the whole idea of lvalued subroutines feasible. Without the need for zillions of operator overloads, complex prototypes and so on. -- Johan