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 reply to Re^7: Experimenting with Lvalue Subs (trade-offs)
by fergal
in thread Experimenting with Lvalue Subs
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |