Create a thread first and don't load any GUI modules at all before that, then build the GUI and run main event loop in that one.
Use things like Thread::Queue or Thread::Queue::Any to communicate between the threads.
/J
In reply to Re: External controlling of a multi-threaded Windows perl program
by jplindstrom
in thread External controlling of a multi-threaded Windows perl program
by weismat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |