Before you go down a road, it's good to look at the skeletons and gravestones by the wayside.
Also, the question of what to use instead of a mainloop remains. Of course you can (try to) use threads and messaging instead of separate mainloops, but you'll find that Gtk2 (for example) doesn't play well when run in a thread that is not the main thread, and so do other "mainloop implementors".
In reply to Re: MainLoop in Perl Module
by Corion
in thread MainLoop in Perl Module
by wjmarlett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |