in reply to Re: Re: Re: Processes clobbering each other
in thread Processes clobbering each other
But I still have the same output problem.
Lemme give you a little more info here.
The main program in generating a XML style output that is being "printed" back to a PHP script. The first section of the XML prints just fine(that's just form data given back, captured by the Perl CGI script). The third and final section is just fine as well(that part uses the @line data). It's the middle section, the part that uses @hits, that seems to be the problem. @hits is generated from a line in the called programs that looks something like:
For some reason, this line is not being printed in some cases when I run multiple forked processes. My concern is that in the main program, I am not setting up to make the 'forked / opened / piped' processes not trip over each other.print "Hits;;SomeName;;$_;;$url\n";
|
|---|