Yes i'm not sure how to use threads.
I wrote :
my $thr = threads->create(\&status_line());$thr->join();The sub executes but i'm not able to get the key input.My program is waiting the thread to end. How can i make it not to wait for it.
In reply to Re^4: Execute a sub in the background
by egzoti4en
in thread Execute a sub in the background
by egzoti4en
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |