http://www.perlmonks.org?node_id=424795


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

$o->foo+ *= 2;
calls foo() once whereas it would need to call twice in the proposed scheme.