Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: pipes: killing the child?

by rubasov (Friar)
on Jan 21, 2010 at 11:23 UTC ( #818695=note: print w/ replies, xml ) Need Help??


in reply to Re^2: pipes: killing the child?
in thread pipes: killing the child?

As far as I can tell, that wants to be an example child process to demonstrate what will happen when you close a filehandle associated with a long-running, sporadically outputting process (without STDOUT buffering). As if your child were this:

perl -le '$|=1; { print ++$i; sleep 1; redo; }'
In the original post's terms this is similar to: open( my $fr_chld, "perl -le '...' |" )


Comment on Re^3: pipes: killing the child?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2015-08-03 13:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (37 votes), past polls