in reply to Re: Re: open(TO, "|-") is a bad file name?
in thread open(TO, "|-") is a bad file name?
$childnum has no special meaning; I was just suggesting that
you loop through the fork code three times, doing different things in the "child" section for each iteration (but making sure the child execs or exits or something rather than continuing the loop.)