use Tk; use Tk::Browser; $mw = MainWindow->new; $edit = $mw->Browser->pack; $edit->insertHTML('end', "erererr"); MainLoop;