Thanks all for your comments.
asarih
"Named pipes" - my bad, slip of the tongue. I meant the opposite to perls 'anonymous pipes' (ie, open( "| ..." )).
Thelonius++
5120 bytes, okay, i didn't know that - presumably that's the problem then. I'll just create another process to read the data as its generated.
Zaxo
I see your point, but no it doesn't, because the reading of <CHILD> still only occurs after the loop has finished. At best, it may free up space for the last $MAXPROCESS processes to write to.
Already tried the autoflushing, no luck.
- ><iper
my JAPH:
print"Just another Perl hacker\n";
# ^ look, no space! pretty tricky huh?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|