There's quite a bit of important code missed out of your example, so it's hard to know exactly what's going wrong. Using strict as well as warnings would probably help.
Sounds like it's some kind of scoping issue in your closure. Try adding use diagnostics to your code and see if that gives more detail.
In reply to Re: Help with 'use Warnings' please?
by davorg
in thread Help with 'use Warnings' please?
by wa4otj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |