|
Hi!
I get the following error when I run Perl Tk on Mac os x 10.6 /Perl version 5.10.0
"no event type or button # or keysym at /Library/Perl/5.10.0/darwin-thread-multi-2level/Tk/Widget.pm line 1105.
at text1.pl line 10"
I am running the following code
#!/usr/bin/perl -w
use Tk;
use strict;
my $mw = MainWindow->new;
$mw->geometry("200x100");
$mw->title("Text Test");
$mw->Text(-background => 'cyan', -foreground => 'white')->pack(-side => "top");
MainLoop;
Can Some one please help me out? I'm trying Tk for the first time.
-Thanks
Vikram
|