in reply to Running a SystemTray::Applet with a callback in infinite loop

initself:

Your callback *must* return. If you need to make something operate continuously, then you need to fork off another process (or create a thread) and then work out the details of communicating between the processes/threads (perlipc).

...roboticus

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