But my objection is that for(1..3) construct doesn't do aliasing
That's not true. Exactly the same aliasing occurs for both for(1..3) and for(1).
"intentionally returns a modifiable value (in a sense) some of the times" mean
Intentionally coded to return a value that can be changed without causing a read-only error.
In reply to Re^15: ref to read-only alias ... why? (notabug)
by ikegami
in thread ref to read-only alias ... why?
by dk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |