(I assume you meant Tk::MainLoop.)
The Tk module has to necessarily catch fatal errors, as there is a lot of cleaning up to do in the graceful shutting down of a GUI. What you should do is wrap the potentially-problematic lines of code in eval {} blocks, then check for errors by examining $@.
--rjray
In reply to Re: Tl::MainLoop() catch errors
by rjray
in thread Tl::MainLoop() catch errors
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |