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.