***** infoCopter.com/perl *****
Perl TKGUI development in PerlSee also [ perl/GUI-Programming/index.html ] A simple "Hello World!" widget script could be written as follows:
#!/usr/bin/perl -w
use strict;
use Tk;
my $main = new MainWindow;
$main->Label(-text => 'Hello World!'
)->pack;
$main->Button(-text => 'Quit',
-command => sub{exit}
)->pack;
MainLoop;
|