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 21:35 UTC ( [id://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 perusing the Monastery: (7)
As of 2024-04-19 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found