Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Wait hangs when pipe is full

by xiper (Friar)
on Sep 03, 2003 at 04:34 UTC ( #288506=note: print w/replies, xml ) Need Help??


in reply to Wait hangs when pipe is full

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?
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://288506]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others romping around the Monastery: (3)
    As of 2023-01-29 16:48 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?