in reply to forked child process is not able to access the file handle
If I'm seeing it right, you're exiting the parent process too soon - and the log file is closed before the childs get a chance to write into it.
Try to outcomment the parent exit(), just to see if this diagnosis is correct.
If it is, consider keeping the parent alive till the last child finished it's work.
Krambambuli
---
Try to outcomment the parent exit(), just to see if this diagnosis is correct.
If it is, consider keeping the parent alive till the last child finished it's work.
Krambambuli
---
|
---|
In Section
Seekers of Perl Wisdom