in reply to Re: Re: Child reading from Parent
in thread Child reading from Parent
If you are running the script under Windows even the fork() uses threads. See perldoc perlfork.
The big difference is that with fork() you do not get the shared variables and the ->join(). If you use the threads you SHOULD use the ->join(), if you use fork() you should use waitpid(). Though in this case since you do not create many threads the waitpid() is not that important.
Jenda
|
|---|