Hi, I am not a Tk programmer, but ... exit exits :-) If you want to return from a sub, return :-)
(And commenting out the exit statement makes your script work because you don't need to use an explicit return statement to return from a sub, if you are not returning anything.)
Hope this helps!
In reply to Re: Perl/Tk and exit(0)
by 1nickt
in thread Perl/Tk and exit(0)
by saw55
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |