my $win = MainWindow->new; $win->configure(-title =>'hi',-background=>'blue'); $win->geometry('+225+150'); # offset from top left $win->minsize(575,375); # no smaller than this $win->maxsize(575,375); # no larger than this # add widgets ... MainLoop();