http://www.perlmonks.org?node_id=503617


in reply to Using Tk::ProgressBar

$widget->update
is your friend; you can create toplevel for it, in case you do not have to show your mainwindow.