--- 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;
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 =>