Pitcher Tyler Anderson flirted with a perfect game as the Dodgers routed the Nationals 10-1 on Monday in Washington.