Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

RFC: Learning Perl/Tk

by perl.j (Pilgrim)
on Aug 08, 2011 at 15:33 UTC ( #919261=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ##Run this program and see what happens
    use Tk;
    ...
            -command => sub { exit })
        -> pack();
    MainLoop;
    
  2. or download this
    use Tk;
    my $mw = new MainWindow;
    my $ent = $mw -> Entry() -> pack();
    MainLoop;
    
  3. or download this
    use Tk;
    
    #Global Variables
    ...
        my $name = $ent -> get();
        $txt -> insert('end',"$name\($gender\) is $age years old.");
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2015-08-29 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (342 votes), past polls