Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Beginning Perl/Tk

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2014-04-18 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (468 votes), past polls