I also don't see the problem. If the subroutine refers to lexicals in the enclosing scope and modifies them, no harm is done since it gets its own copy of the lexicals
You could equally well say that assignment can have bad effects and be hard to track down.
In reply to Re^2: Catching closures
by hipowls
in thread Catching closures
by bduggan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |