Aaron Voros, Danny Syvret and Jason Blake also scored for the Ducks, and Jonas Hiller stopped all 19 shots he faced while playing 32 minutes. Backup Timo Pielmeier also made 19 saves for the Ducks.
Torrey Mitchell and Taylor Doherty scored for the Sharks, who outshot Anaheim 40-18. Antero Niittymaki gave up four goals on just 12 shots in the first two periods.
Teemu Selanne and Saku Koivu sat out for the Ducks, while Getzlaf and Perry made their exhibition debuts after sitting out Tuesday night in a loss to Phoenix. Perry scored on a rebound of Getzlaf's shot off the crossbar in the first period.