in reply to Re: Catching closures
in thread Catching closures
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Catching closures
by akho (Hermit) on Mar 05, 2008 at 21:21 UTC | |
by hipowls (Curate) on Mar 06, 2008 at 10:09 UTC |