The second is that calling Show returns the text of the pressed button, when the DialogBox is closed, so you can also just do:
my $answer = $config->Show(); myApplySub() if($answer eq 'Apply');
C.
In reply to Re: Understanding Tk::DialogBox
by castaway
in thread Understanding Tk::DialogBox
by rvosa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |