What I would like to do is have a button close my window (prompt_window), but also call a function (user_continue):
It only executes the last -command. Any help would be appriciated!
Tim
Code:
my $btn = $main -> Button (-text => 'Click Me',
-command => sub {$prompt_window -> destroy},
-command => \&user_continue)
-> pack ();
It only executes the last -command. Any help would be appriciated!
Tim