The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
use strict;
use Tk;
use Tk::Button;
use Tk::FloatEntry;

my $mw = MainWindow->new();
my $fe = $mw->FloatEntry();

my $ex = $mw->Button(-text=>'exit', -command=>[$mw,'destroy'])->grid;
$fe->post(10,10);

Tk::MainLoop;