# from Gabor Szabo
# on Monday 09 March 2009 10:10:

>> On a completely different note:  Why eval {} inside an event sub?
>
>I think it is because these are methods in the plugins and we
>try to avoid a crash caused by a plug-in.

Sure.  That seems like it would fail a little bit too silently though.

I use a $SIG{__DIE__} as a catch-all with a dialog box.  The trouble 
with doing eval only at the menu-click time is that any sort of 
persistent objects can still crash you when their are events are 
handled.

--Eric
-- 
But as soon as you hear the Doppler shift dropping in pitch, you know
that they're probably going to miss your house, because if they were on
a collision course with your house, the pitch would stay the same until
impact. As I said, that one's subtle.
--Larry Wall
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to