Now the authors of Net::IRC forsaw this being an issue so they came up with the do_one_loop() function. However I am having difficulty coming up with a way where I can implement this function and return control back to Tk every time but still have the IRC module poll endlessly for events and as close as real time as possible. Right now I simply have a button which initiates the do_one_loop() function but this is a manual poll for info and not automatic. If I use the $irc->start function then the Net::IRC module never returns control back over to Tk and the gui appears to hang and becomes unusable.
Does anyone have any nifty ideas on how to share control back and forth real time between these two modules?
In reply to Event based modules playing nice together? by Elijah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |