in reply to Tk onExit

Have you tried using an END{...} block in the program? Just curious -- it's the first thing I would try, because it's the standard method for hooking into perl's shut-down procedure, but I've never tried it in a Tk app, and I don't know whether that raises issues.

If you did try it, it would be worthwhile to post your findings about that.

Replies are listed 'Best First'.
Re^2: Tk onExit
by eserte (Deacon) on Jul 22, 2004 at 15:04 UTC
    An END { } block will be executed after the Tk window is destroyed, so this won't help the original questioner.