in reply to Tl::MainLoop() catch errors
(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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Tl::MainLoop() catch errors
by Anonymous Monk on Feb 20, 2002 at 04:06 UTC | |
by rjray (Chaplain) on Feb 20, 2002 at 05:40 UTC | |
by rinceWind (Monsignor) on Feb 20, 2002 at 11:14 UTC |