Perez was 6 yards out when he redirected a blast that Moises Hernandez sent wide. It was Perez's 32nd career MLS goal.
The Earthquakes applied the early pressure, forcing FC Dallas goalkeeper Chris Seitz to make both of his saves in the first 10 minutes. Seitz earned his sixth career shutout.
San Jose goalkeeper David Bingham was 2 minutes away from his first career MLS shutout.
FC Dallas is coming off its first appearance in the MLS Cup playoffs in three years, a run that ended in the Western Conference quarterfinals.
The loss extends the Quakes' franchise-record winless streak to 16 games in coach Dominic Kinnear's return to the club after a 10-year absence.
All content copyright ©2015 Daily Journal, a division of Home News Enterprises unless otherwise noted.