in reply to Perl/Tk while {1} and a responsive UI

I had a similar problem, and solved it with threads (just use the latest stable Perl out there, the threads module was improved after 5.8 I think), see here: Marrying Tk, threads and SerialPort - a COM port monitor

It's a complex program that involves more than *just* Tk + threads. The threads part gave me least problems - it works very nicely.

  • Comment on Re: Perl/Tk while {1} and a responsive UI