in reply to Re^3: Execute a sub in the background
in thread Execute a sub in the background
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Execute a sub in the background
by BrowserUk (Patriarch) on Feb 01, 2012 at 14:58 UTC | |
|
Re^5: Execute a sub in the background
by chessgui (Scribe) on Feb 01, 2012 at 14:46 UTC |