The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/local/bin/perl -w
use strict;
use Tk;
use Tk::widgets qw(Button);
#use Carp ();
#$SIG{'__DIE__'} = \&Carp::confess;

my $mw = MainWindow->new();
my $text = "This is 2ยข worth of text";
$mw->Entry(-textvariable => \$text, -width => 20)->pack;
$mw->Button(-text => 'Quit', -command => [destroy => $mw])->pack;
MainLoop;