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

Like you mean subroutine? But then what about the file names? Will need different file names for each of the file

Replies are listed 'Best First'.
Re^3: Reading Multiple files
by aitap (Curate) on Aug 07, 2012 at 12:20 UTC
    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.