Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Making a button execute a command: Tk

by Andrew_Levenson (Hermit)
on Jan 12, 2007 at 21:48 UTC ( [id://594466]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    for(0..9){
    ...
             -command => $number=$number==0||$equals!=0?$input:$number.$in
    +put,
        ) -> pack();
    }
    
  2. or download this
    
    
    
    C(qw/74 97 104 112/);sub C{while(@_){$c**=$C;print
    (map{chr($C!=$c?shift:pop)}$_),$C+=@_%2!=1?1:0}}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://594466]
Approved by eff_i_g
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-16 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found