{ local @ARGV = ('file1', 'file2', ...); while (<>) { chomp; ... } }