Re: perl/tk Mainwindow

2002-01-10 Thread Curtis Poe
--- Venkatesh Karnam <[EMAIL PROTECTED]> wrote: > > I'm trying to run the following code and open a new window. But the > program finishes without opening a window. Is there something wrong in > the code? You needed to add "MainLoop;" at the bottom: #!/usr/local/bin/perl5 -w use Tk; use strict;

perl/tk Mainwindow

2002-01-10 Thread Venkatesh Karnam
I'm trying to run the following code and open a new window. But the program finishes without opening a window. Is there something wrong in the code? #!/usr/local/bin/perl5 -w use Tk; $main = MainWindow->new(); $menubar = $main->Frame(-relief => "raised", -borderwidth =>