in reply to Doubly-nested deeply bound variable is undefined
My closure fu is not strong, but my guess is that the $x that is assigned the string is not the same instance of $x that is passed to the annon sub in the run_this call. If you change the my to our you will get the behaviour you expect.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Doubly-nested deeply bound variable is undefined
by asokoloski (Sexton) on Nov 14, 2006 at 18:54 UTC |