in reply to specifying STDIN for backticks
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.
--
|
|---|