Perry's goals came at even strength, shorthanded (penalty shot), and on the power play, marking only the second time in club history a player has scored in all three situations. The other was Paul Kariya, who accomplished the feat on Jan. 10, 1997, against Buffalo.
"It's been a long time," said Perry, who entered the League in 2005. "(I've had) a lot of two-goal games, but it just feels good."
It was the third game this season in which each member of the Ducks' top line scored. Perry and Ryan each added two assists and Getzlaf had one. The combined total of 11 points was a season high for the trio and came at a good time, considering the club was missing forwards Teemu Selanne and Saku Koivu.
"We knew we had to do something special," Perry said. "Everybody played well. We created some offense tonight."
Minnesota defenseman Brent Burns extended his goal-scoring streak to three games and Marek Zidlicky scored on a power play.
The Ducks were leading 3-2 when Martin Havlat lost control of the puck in the Minnesota zone and hooked Perry as he skated up ice with it. A delayed penalty was about to be called when Cam Barker compounded the mistake by getting his stick tangled up with Perry on the ensuing breakaway and causing the penalty shot.
Perry beat Niklas Backstrom between the pads to the delight of the crowd. It was the first career penalty shot for Perry, who is 14-for-42 on shootout attempts during his six NHL seasons.
"They played a great game," Backstrom said. "We worked hard to get back in it and got a power-play goal, and you think you have the momentum. Then they scored three and it got away from us. But it's just one game, and it's a long season."
Ryan made it 5-2 -- with Mikko Koivu's stick -- at 17:26 of the second, converting a rebound for his 14th goal. During a battle for the puck in the corner, Koivu, who had lost his stick seconds earlier, pulled Ryan's stick from his hands and kept it. Ryan, after helping draw the puck out of the corner, picked up Koivu's stick that was laying on the ice. Seconds later, a shot from Toni Lydman rebounded off Backstrom right to Ryan, who chipped it into the open net, showing off the stick he did it with as his teammates celebrated.
"There was some kind of tangle up in the corner. I looked down and saw my own stick," Ryan said. "I knew I wasn't holding it. I wasn't quite sure what to do. The puck came out and I just picked up the first thing that was there. It was (Koivu's) and the puck came right to me.
"The only ref I talked to at center ice was also talking to (Martin) Havlat. He said he had no idea and never had seen anything like it. As far as he was aware, there was no rule against it. I will take them any way they come right now."
Jared Spurgeon was serving a tripping penalty when Perry completed the scoring with 4:13 to play, triggering a shower of hats on the ice. Backstrom, who faced 36 shots, allowed at least six goals for the third time in his last five starts.
"It's been awhile since we’ve had one where we had a three-goal lead and we didn't make it interesting in the hockey game," said Ducks coach Randy Carlyle. Minnesota played last night in L.A. and won a big hockey game. They exhausted a lot of energy in that and then they were short-staffed. They didn't have (John) Madden or (Matt) Cullen. We had a lot of energy tonight."
Anaheim scored 19 seconds after the opening faceoff, as Perry snapped a 15-footer past Backstrom's stick after Ryan took the puck away from Nick Schultz in the right corner and fed it into the slot.
Burns, whose overtime goal beat the Los Angeles Kings on Saturday night, tied it at 6:36 of the opening period with his ninth of the season — second in the League among defensemen and one behind Atlanta's Dustin Byfuglien.
Getzlaf gave the Ducks the lead for good just 32 seconds later. A delayed penalty was about to be called against Burns for pulling down Ryan when Getzlaf jumped on a loose puck in the left circle that was left there by Ryan and beat Backstrom to the glove side with a short wrist shot.
Getzlaf made it 3-1 during 5-on-3 power play with 18 seconds left on Zidlicky's hooking penalty. The two-goal game was the 11th for the Ducks' captain, who is still looking for his first hat trick in the NHL.
"It was great. We knew as a line that we had to bring our game up a little bit, and we were able to do that," Getzlaf said. "The biggest thing was that we had the lead and kept it. That's been a little bit of a challenge for us the last three games, so a big part of our third period was making sure we stepped on the gas and kept going."
Zidlicky cut Anaheim's lead to 3-2 at 9:49 of the second while Luca Sbisa was off for slashing Patrick O'Sullivan. Minnesota has a power-play goal in each of its last three games, after going 1-for-29 over its previous 10.
Selanne was sidelined for the second straight game and seventh in the last 11 because of a persistent groin injury. Koivu was scratched for the first time this season because of the flu, preventing him from playing against younger brother Mikko.
The Ducks leave Monday morning for a season-long, seven-game road trip that won't see them back at Honda Center until Dec. 31. Anaheim visits Washington on Wednesday night.
"It was just a matter of finding that groove and going with it," Perry said. "Everything was going our way tonight. Hopefully, we can continue to play that way."
Material from wire services and team media was used in this report.