Beauchemin fired a slap shot past goalie Viktor Fasth to give the Ducks their 50th win of the season (50-18-8). Perry and Ryan Getzlaf assisted on the deciding goal.
With the Ducks trailing 2-0, Perry scored his 40th goal just 37 seconds after Jordan Eberle doubled Edmonton's lead at 2:51. Perry then tied it with 8:35 left. It is the second time Perry has reached 40 goals in a season.
Rookie goalie Frederik Anderson (19-5) stopped 30 shots.
Philip Larsen scored his third of the season in the first period for Edmonton.