in reply to Re: Execute a sub in the background
in thread Execute a sub in the background
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 ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Execute a sub in the background
by chessgui (Scribe) on Feb 01, 2012 at 15:36 UTC | |
by egzoti4en (Initiate) on Feb 01, 2012 at 15:40 UTC | |
by chessgui (Scribe) on Feb 01, 2012 at 15:47 UTC | |
by Anonymous Monk on Feb 01, 2012 at 15:53 UTC | |
by chessgui (Scribe) on Feb 01, 2012 at 16:08 UTC | |
|