I think you have the problem of two competing event loops. I don't think you will be able to solve this. The SystemTray::Applet mainloop will not cooperate with the POE mainloop. You will have to understand the two systems and then think about a way to reconcile their differences. Starting a POE session from within the callback will not work and not do what you seem to think it does.
In reply to Re^4: Running a SystemTray::Applet with a callback in infinite loop
by Corion
in thread Running a SystemTray::Applet with a callback in infinite loop
by initself
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |