wulvrine has asked for the wisdom of the Perl Monks concerning the following question:
I am writing a Perl::Tk program which is throwing an error Tk::Error: ("after" script) when it is exiting. During the main loop of the program, there is a DialogBox called. This box has an 'exit' button.
When the "Exit" button is pressed, $mw->destroy(); is called. The program then printsmy $dlg=$mw->DialogBox(-title=>'Winner', -buttons=>["Again","Exit"]); my $b=$dlg->Show(); if ($b eq "Again") { ... } else { $mw->destroy(); exit; }
What does this error really mean, and how do I get rid of this error?
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk::Error: ("after" script)
by zentara (Cardinal) on Sep 27, 2007 at 16:30 UTC | |
|
Re: Tk::Error: ("after" script)
by liverpole (Monsignor) on Sep 27, 2007 at 16:00 UTC | |
|
Re: Tk::Error: ("after" script)
by wulvrine (Friar) on Sep 28, 2007 at 18:38 UTC |