It wouldn't fix the following:
foo() and my $x; foo() or my $x; foo() && my $x; foo() || my $x; foo() // my $x; foo() ? my $x : 1;
Not to mention that some code relies on the current behaviour.
In reply to Re^3: A curious case of of my()
by ikegami
in thread A curious case of of my()
by fleetingflicker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |