Re: RFC 126 (v1) Ensuring Perl's object-oriented future
[email protected] (Chaim Frenkel) 20 Aug 2000 00:34:23 -0400
| Newsgroups | perl.perl6.language.strict |
|---|---|
| Message-ID | <[email protected]> |
I missed the original posting. But why wouldn't you? If lvalue subs worked properly, so should local lvalue_sub() The return of an lvalue sub should be something that is lvaluable. So local should be able to chew on it. <chaim> >>>>> "JDB" == J David Blackstone <[email protected]> writes: JDB> On the main perl6-language list, Larry Wall wrote: >> The main downside of accessors is that you can't (currently) say >> >> local $obj->attribute = 2; JDB> Oooh. Someone proposed this as a reason why we can't get rid of JDB> dynamic variables, and I've spent all evening being troubled by it. JDB> If that "currently" implies someone's thinking about this as a JDB> feature, maybe we really could do what I've been saying. JDB> Still chewing on various thoughts, -- Chaim Frenkel Nonlinear Knowledge, Inc. [email protected] +1-718-236-0183