should do the trick.$SIG{ALRM} = sub { exit 0 }; # trap an alarm and assign a sub to exit alarm 60; # trigger an alarm after 60 seconds MainLoop;
Hope that helps.
-- Foxcub
#include www.liquidfusion.org.uk
In reply to Re: Perl/TK Main Window Destroy
by Tanalis
in thread Perl/TK Main Window Destroy
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |