perl process_files.pl file1.txt file2.txt #### for $inputfile (@ARGV) { process_file ($inputfile); }