Debian Codegraph @

Xlib/load

raw
1 #!/usr/local/bin/perl -w
2 use strict;
3 use Tk;
4 use Tk::Xlib;
5 use Tk::X;
6
7 my $mw = MainWindow->new;
8
9
10 $mw->Button(-text => 'Quit', -command => [destroy => $mw])->pack;
11 MainLoop;
12