in reply to Re^3: Running a SystemTray::Applet with a callback in infinite loop
in thread Running a SystemTray::Applet with a callback in infinite loop

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.

  • Comment on Re^4: Running a SystemTray::Applet with a callback in infinite loop