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;


Oooh.  Someone proposed this as a reason why we can't get rid of
dynamic variables, and I've spent all evening being troubled by it.
If that "currently" implies someone's thinking about this as a
feature, maybe we really could do what I've been saying.

Still chewing on various thoughts,
J. David

Reply via email to