I would like to process many file/ string into perl and do not wait stdin responded from batch file,.How would be the batch file?
for instance I have test.pl and the content is
my $o=<STDIN>; print "$o\n"; my $c=<STDIN>; print "$c\n"; And a batch file executes the test.pl with different stdin at any time
Consider that the functionality of the batch file would be
perl test.pl <stdin> <stdin> perl test.pl <stdin> <stdin> perl test.pl <stdin> <stdin> perl test.pl <stdin> <stdin> Then I wonder how to send the stdin into the test.pl.