Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: TK close window int signal

by Stoney2005 (Acolyte)
on May 30, 2011 at 23:29 UTC ( #907389=note: print w/ replies, xml ) Need Help??


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


Comment on Re: TK close window int signal
Download Code
Replies are listed 'Best First'.
Re^2: TK close window int signal
by Anonymous Monk on May 31, 2011 at 01:54 UTC
    There is no need for any of that, just call exit after MainLoop
    Main ( @ARGV ); exit ( 0 ); sub Main { ... MainLoop; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://907389]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2015-07-30 10:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls