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.
In reply to Re: Doubly-nested deeply bound variable is undefined
by GrandFather
in thread Doubly-nested deeply bound variable is undefined
by asokoloski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |