in reply to Perl/Tk and "wait" box

You also might want to check out POE which is an event-driven application framework that sounds like what you need.