in reply to Sending EOF to pipe

You need to stick some delimeters in your output. The code

my ($num1,$num2) = (3, 24); print "$num1$num2\n";

will output the number 324. You're doing something similar with your pipe. Sitck an endline in the print statement in parent,

print $pipe "$in\n"

so that the line-at-a-time read in the child works properly.

Ron Steinke rsteinke@w-link.net