Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2014-09-30 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (377 votes), past polls