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

Well I can get the app to run and display in the SystemTray, just not with a callback.

The callback takes hold of the object creation right at ->new.

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

Replies are listed 'Best First'.
Re^4: Running a SystemTray::Applet with a callback in infinite loop
by Corion (Patriarch) on Mar 25, 2010 at 14:39 UTC

    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.