You need to give Tk the opportunity to deal with updating windows and responding to events. Stick in one or more $MainWindow->Update; inside the various loops. Of course, your MainWindow object may not be named $MainWindow, but you get the idea. You might also want to look into $MainWindow->IdleTasks; which just deals with callsbacks. Both of the above are described in the Tk::Widget POD.
perl -e 'print "I love $^X$\"$]!$/"#$&V"+@( NO CARRIER'
In reply to Re: running a loop in background...
by Chmrr
in thread running a loop in background...
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |