Well this worked excellent $thr = threads->create(\&status_line)->detach;.
Thank you very much for this advice.
Is there a way after the thread is detached to kill the process ?
In reply to Re^2: Execute a sub in the background
by egzoti4en
in thread Execute a sub in the background
by egzoti4en
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |