in reply to Re^6: Experimenting with Lvalue Subs (trade-offs)
in thread Experimenting with Lvalue Subs
Other problems:
How would this work in the proposed scheme?
sub double { $_[0] *= 2; } double($o->foo);
Also currently
calls foo() once whereas it would need to call twice in the proposed scheme.$o->foo+ *= 2;
In Section
Meditations