good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Help with 'use Warnings' please?by davorg (Chancellor) |
on Jul 13, 2009 at 15:47 UTC ( [id://779637]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|