in reply to Updating a TK window during a sub

You can call $widget->update or $widget->idletasks to update Tk's windows. Take a look at the Tk::Widget docs to see which would fit better in your situation.