Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: buffering when reading from unnamed pipe with child process

by tybalt89 (Monsignor)
on Nov 19, 2020 at 23:05 UTC ( [id://11123857]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
            sleep 1 unless $c % 5; # pause after each fifth line
        }
    }
    
  2. or download this
    CHILD writing <1>
    CHILD writing <2>
    ...
    PARENT sees <13>
    PARENT sees <14>
    PARENT sees <15>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-16 14:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found