So i'm trying to set up signal handlers for the script i'm setting up. i'm currently having it catch normal-signals, error-signals, and old-interface-signals. Yeah there is some overlapping stuff but its not a big deal for me. So my question is when you close a normal tk window such as
use Tk;
$mw = new MainWindow; #Initialize main window
$mw->withdraw();
$mw->Popup;
MainLoop;