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
In reply to Re: Running a SystemTray::Applet with a callback in infinite loop
by roboticus
in thread Running a SystemTray::Applet with a callback in infinite loop
by initself
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |