{ local ($^I, @ARGV) = ('.bak', @files); while (<>) { s/this/that/; print; } }