Assuming there is no logic issues with the above (add a couple of print statements to see if you get to DoEvents) then the only thing I can think of is that NET::IRC is doing a blocking call, resulting in a frozen GUI. If this is the case, then you are best moving to a threaded solution, were one thread deals the GUI, with the other dealing with NET::IRC.

Cheers,

jez.

yes, you are right, Net::IRC is blocking, even though the documentation says that do_one_loop allows it to work with other event based loops like Tk. Considering I'm a newbie, I have no idea where to begin using threads or processes. My program will need to share data with the IRC thread, so I know forking won't work right even with SIG. I was looking at Win32::Process but I'm so confused. Anybody know of a good book/website/tutorial/example using Win32::Process?

Roger Mayfield


Reply via email to