$mw->Button(-text => 'Exit', -command => sub {$mw->destroy})->pack;
no need for closures
-command => sub { $Tk::widget->toplevel->destroy }
-command => 'exit'
In reply to Re^2: Morse input from keyboard
by Anonymous Monk
in thread Morse input from keyboard
by pierrot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |