The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use Tk;
use Tk::FireButton;

my $i = 0;

my $mw = MainWindow->new();
my $fb = $mw->FireButton(
		-text=>'Fire',
		-command=>sub{$i++; print "fire $i\n"}
		)->pack;

MainLoop;