@a = map { $_ = 3; } [];
is no more or less junk than
@a = map { $_ = 3; } $x.$y;
Are you therefore talking about [] + 1? Making the reference read-only is not going to catch that.
In reply to Re^6: Shouldn't references be readonly? (updated)
by ikegami
in thread Shouldn't LITERAL references be readonly? (updated)
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |