Hi,
Thank you every one for your responses. I tried all that was suggested to the best of my understanding, but couldn't get the display of the program status in real time. I hope I'm not speaking too soon, but I think I've finally found an answer in the 'Perl Tk and the Web' chapter of 'Mastering Perl Tk'. I have to use '$mw->idletasks;' in my while loop.
Comment on Re^2: displaying program status in perl tk
If you need idletasks in your loop, and the timer I showed you dosn't work right to show your updates, then I must presume you are not showing us the real code. You might try putting $mw->update; in your loop too, that may help, but it's a bad design.
If you would show us your real code, we probably could show you a better way.