in reply to Re^2: Subroutine redefined Error
in thread Subroutine redefined Error
I recommend to start over and USE THE ActiveState installer, their ppm (Perl Package Manager) program to get Tk. If a module is available on the ActiveState site, using their installation program is the easiest way to go. I tested this code on my machine and it works fine.
#!/usr/bin/perl -w use strict; use Tk; my $mwin = MainWindow->new(); $mwin->title("Hello"); MainLoop(); ###oh, this is important to start ###the GUI!!!!!
|
|---|