Corey Perry has 3 goals, Frederik Andersen gets 2nd shutout in Anaheim's 4-0 win over Toronto

Anaheim Ducks right wing Corey Perry shoots and scores against the Toronto Maple Leafs during the second period of an NHL hockey game in Anaheim, Calif., Wednesday, Jan. 14, 2015. (AP Photo/Chris Carlson) (The Associated Press)

Anaheim Ducks right wing Corey Perry celebrates his goal against the Toronto Maple Leafs during the second period of an NHL hockey game in Anaheim, Calif., Wednesday, Jan. 14, 2015. (AP Photo/Chris Carlson) (The Associated Press)

Corey Perry scored three goals and Frederik Andersen made 28 saves for his second career shutout in the Anaheim Ducks' 4-0 victory over the Toronto Maple Leafs on Wednesday night.

Kyle Palmieri also scored in the Ducks' fourth victory in five games, putting them back atop the overall NHL standings alongside Nashville.

Capping his league-leading third hat trick of the season with an empty-net goal, Perry took over the team lead with 18 goals this season despite missing 15 games with illness and injury.

His second goal was a breakaway set up by a long, beautiful backhand pass from captain Ryan Getzlaf, who had two assists in Anaheim's first win over Toronto in seven tries.

Jonathan Bernier stopped 21 shots for the Maple Leafs, 1-3 under new coach Peter Horachek.