Add a third process that generates your random seed, and then supplies it to the two existing processes via their command lines:
perl -e"$s= rand; qx[$argv[0] $s]; qx[ $ARGV[1] $s];" script1.pl scrip +t2.pl
Switch command line conventions as appropriate.
In reply to Re: Generating same seed between 2 processes
by BrowserUk
in thread Generating same seed between 2 processes
by alih110
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |