for (@ARGV){ print if s/first/somet/ or s/second/somet/; }