The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#!/usr/local/bin/perl -w
use strict;
use Tk;
use Tk::X;
my $mw = MainWindow->new;
$mw->Button(-text => 'Quit', -command => [destroy => $mw])->pack;
MainLoop;