http://www.perlmonks.org?node_id=818695


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 '...' |" )