note
ikegami
<p>Ok, I'd like to contradict myself.
<p>I'd actually be ok with making "unassigned" scalars read-only. That includes <c>[...]</c>, <c>$x.$y</c>, <c><></c>, etc.
<p>It might have performance implications, but they should be extremely tiny.
<p>It would break some code (such as <c>my @lines = map { chomp; } <>;</c>), but I think the benefits might be larger.
11120285
11120442