Redirect two or more STDOUT to a single STDIN
http://en.wikipedia.org/wiki/Standard_streams says "More generally, a child process will inherit the standard streams of its parent process."
I am assuming if a child process close stdin then parent's stdin gets closed as well and not gettin any user input for code such as :
if ($select->can_read(1)) {
my $char = getc();
if (defined $char) {
print ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> $char\n";
}
}
Can a parent process have its own STDIN separate from child process' STDIN so that a child process can do whatever it wants with STDIN and parent's STDIN does not get affected?