Your parent-process uses the angle-operator to read from the pipe which means it looks for newlines. Your child however does not supply newlines.
So try
in your child.print WRITE "$val2\n";
In reply to Re: interprocess communication
by morgon
in thread interprocess communication
by mevans
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |