Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Morse input from keyboard

by Anonymous Monk
on Feb 11, 2020 at 09:39 UTC ( #11112767=note: print w/replies, xml ) Need Help??


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'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11112767]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2020-03-31 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (181 votes). Check out past polls.

    Notices?