"be consistent" | |
PerlMonks |
Re: Threads works if not checkedby dave_the_m (Monsignor) |
on Jun 18, 2014 at 23:05 UTC ( [id://1090373]=note: print w/replies, xml ) | Need Help?? |
You are setting $thread_endless_loop to the return value of the detach() method, which is not documented to return a value. Perhaps you meant:
Note also that $! will not have any meaningful value on failure to create a thread. Dave.
In Section
Seekers of Perl Wisdom
|
|