in reply to Re: Morse input from keyboard
in thread Morse input from keyboard
$mw->Button(-text => 'Exit', -command => sub {$mw->destroy})->pack;
no need for closures
-command => sub { $Tk::widget->toplevel->destroy }
-command => 'exit'
In Section
Seekers of Perl Wisdom