Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Beginning Perl/Tk

by perl.j (Pilgrim)
on Aug 27, 2011 at 17:35 UTC ( #922840=perltutorial: 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
Domain Nodelet?
Node Status?
node history
Node Type: perltutorial [id://922840]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2023-12-02 17:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (18 votes). Check out past polls.

    Notices?