http://www.perlmonks.org?node_id=985960


in reply to Re^2: Reading Multiple files
in thread Reading Multiple files

You can generate output file names dynamically. For example, my $input=$_[0]; my $output="./Result_of_processing_$input.txt";.
More strict way: my $output = "Result_".$input.".txt";
Sorry if my advice was wrong.