What about the implicit localizations of $_ done by map, grep, for, etc.? Do they do The Right Thing®?
I think it is surprising (hence bad) that the while ( <FH> ) idiom doesn't do an implicit localization of $_ like the looping constructs listed above. Is there a fundamental reason for this, or is it due to a severe tuit shortage?
the lowliest monk
In reply to Re^3: Closure producing 'Modification of read-only value' error
by tlm
in thread Closure producing 'Modification of read-only value' error
by wfsp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |