You should not use qx// for anything that involves more than just `command options`. Playing around with STDIN and STDOUT is much more, you need the Good Old open().
open my $pipe , '|' , $scriptname or die "..."; print $pipe "This goes to the parallel program's STDIN". ...
`perldoc -f open` and `perldoc perlopentut` will help you.
--In reply to Re: specifying STDIN for backticks
by fruiture
in thread specifying STDIN for backticks
by dingus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |