spacewarp has asked for the wisdom of the Perl Monks concerning the following question:
The recent discussion regarding Tk reminded me that I have been unable to get the dang GUI working on my system. I'm using ActivePerl 5.6.0 on Win98, and everytime I try to run a program, including the "Hello World" program on page 11 of "Learning Perl/Tk", the program minimizes the command prompt and does nothing else.
No errors, no output, nothing.
For easy reference, here's the code:
Any ideas on what's wrong?
Spacewarp
DISCLAIMER:
Use of this advanced computing technology does not imply an endorsement
of Western industrial civilization.
For easy reference, here's the code:
use Tk; my $mw = MainWindow->new; $mw->title( "Hello World" ); $mw->Button(-text => "Done", -command => sub { exit })->pack; Mainloop;
Any ideas on what's wrong?
Spacewarp
DISCLAIMER:
Use of this advanced computing technology does not imply an endorsement
of Western industrial civilization.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tk on Win32
by Chmrr (Vicar) on Apr 13, 2001 at 06:40 UTC | |
by spacewarp (Pilgrim) on Apr 13, 2001 at 07:32 UTC | |
Re: Tk on Win32
by atcroft (Abbot) on Apr 13, 2001 at 06:51 UTC | |
by Chmrr (Vicar) on Apr 13, 2001 at 06:55 UTC | |
by Madams (Pilgrim) on Apr 14, 2001 at 08:34 UTC |
Back to
Seekers of Perl Wisdom