in reply to Odd lexical variable behavior -- why does this happen?
This sounds very familiar. I bet I'll find that the handler (count_up) is called using MULTICALL. The last time I looked at it, I hypothesised that MULTICALL is an optimization used to speed up calling a function repeatedly by reusing stack frames, and that it fails when a lexical is still referenced when it goes out of scope.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Odd lexical variable behavior -- why does this happen?
by ikegami (Patriarch) on Sep 12, 2007 at 21:25 UTC | |
by radiantmatrix (Parson) on Sep 13, 2007 at 15:36 UTC |