http://www.perlmonks.org?node_id=907389


in reply to TK close window int signal

well damn. i know i wrote a post earlier explaining what i tried. mehhh. well i did it now. $mw->protocol('WM_DELETE_WINDOW',\&clean_exit); the [] brackets threw me off and broke the code