Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Perl/TK Main Window Destroy

by Tanalis (Curate)
on Jul 17, 2003 at 13:22 UTC ( [id://275207]=note: print w/replies, xml ) Need Help??


in reply to Perl/TK Main Window Destroy

You can set an alarm, and then trap that alarm to exit the application. Something like
$SIG{ALRM} = sub { exit 0 }; # trap an alarm and assign a sub to exit alarm 60; # trigger an alarm after 60 seconds MainLoop;
should do the trick.

Hope that helps.

-- Foxcub
#include www.liquidfusion.org.uk

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-03-19 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found