Hi,
I tried using this code within my script. The code works great on the perl interpreter on my computer. However, the version of perl on my server complaines. I would like add windows to my script. Do any one know of a windows system that's not Tk??
use Tk;
my $main = new MainWindow;
sub cwindow{
my $value = shift;
$main->Label(-text => $value )->pack;
$main->Button(-text => 'Quit',
-command => sub{exit}
)->pack;
}
&cwindow( "Error! Your name was not entered." );
MainLoop;
Thanks,
Dave...
I tried using this code within my script. The code works great on the perl interpreter on my computer. However, the version of perl on my server complaines. I would like add windows to my script. Do any one know of a windows system that's not Tk??
use Tk;
my $main = new MainWindow;
sub cwindow{
my $value = shift;
$main->Label(-text => $value )->pack;
$main->Button(-text => 'Quit',
-command => sub{exit}
)->pack;
}
&cwindow( "Error! Your name was not entered." );
MainLoop;
Thanks,
Dave...