perl process.pl input.txt > output.txt #### while (<>) { print "Reading from: $ARGV, Writing to: $???\n"; }