The magic while construct does not make $_ and alias - it assigns to it. This is fundamentally different. That said, it bugs me that it doesn't do implicit localization.
In reply to Re^4: Closure producing 'Modification of read-only value' error
by nobull
in thread Closure producing 'Modification of read-only value' error
by wfsp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |