To become one of the NHL’s elite lines, Bobby Ryan, Ryan Getzlaf and Corey Perry will need more games to remember than games to forget. On a more elementary level, they’ll need to play together the bulk of the time they’re on the ice.

A few games like Wednesday’s won’t hurt.

With his linemates creating spacious seams at ease, then threading the puck almost effortlessly, Perry scored twice as the Ducks dominated the Minnesota Wild, 3-2, before 15,111 at the Honda Center.

“It’s definitely not easy,” said Perry, who nearly completed his first career hat trick on a wraparound shot in the second period. “We controlled the puck; we were tight together. Our line hasn’t been doing that this year. We’ve been giving the puck up, getting one chance, then going back in our zone.

“Tonight we were getting that second and third chance, and it paid off on a few chances there.”

Though generally recognized as the team’s most talented forward line, Ryan, Getzlaf and Perry had combined to produce just two assists and no goals the past two games At times, head coach Randy Carlyle had split off Ryan, who had just one goal and no assists coming into the game.

Wild head coach Todd Richards couldn’t beg his counterpart to break up the trio Wednesday.

“That’s the way they have to play to be effective,” Carlyle said.”When they do that, they grind teams down, they’re playing against higher lines – either the first or second unit of the opposition – so the more you can keep them in their own zone, the less of an opportunity those skilled players they’re playing up against have to be in your zone. Tonight was one of their better games.”

At 1:41, Perry was the beneficiary of a blue-line turnover by the Wild as they went over the boards for a line change. Nick Boynton collected the loose puck and gave it to Perry, who skated in unobstructed and lifted a backhander past Niklas Backstrom.

Later, the Minnesota defense seemed to be watching as Ryan, Getzlaf and Perry cycled the puck around the offensive zone. Ryan, skating the puck out from behind his own net, hit Perry with a long tape-to-tape pass. Perry then waited out Backstrom, and flipped the puck in with a backhander at 8:29.

In six games to start the season, Perry has four goals and seven points.

“It’s a credit to Corey,” Carlyle said. “The work he put in for the Team Canada tryout, preparing himself earlier for the season, is paying dividends.”

Ryan Carter made it 3-0 with his first goal of the season, tapping a rebound past Backstrom at 15:11 of the second period, but the Wild got the goal back at 16:35 when Eric Belanger scored directly off a Luca Sbisa turnover.

With Backstrom pulled for the extra attacker, Andrew Brunette’s goal with 9.1 seconds left in the game made it 3-2.

The Ducks’ Saku Koivu got to play against his brother, Mikko, for the second time this season. Mikko got the better of the duel eight days earlier in Minnesota; the brothers traded power-play goals but the Wild won in overtime, 4-3. This time Saku made his mark by winning faceoffs, including the opening drop against Mikko en route to a 14-of-20 night in the circle. Mikko, who won just 3 of 14 faceoffs, wasn’t quite so lucky.

Making his fourth start this season, Jonas Hiller stopped 32 of 34 shots to improve to 3-1.

He was outstanding at times, weathering several broken plays in front of the net, and won all but one of his 1-on-1 breakaways.

Hiller was perfect in stopping every power-play shot he faced – but the Ducks’ penalty-killers made it easy by only allowing two, a marked improvement for a team that had allowed eight power-play goals to start the season, tied for the most in the NHL.

“Everybody worked together,” Hiller said of the Ducks’ penalty kill. “I think we did a better job at the blue line, stepping up and not giving an easy entrance.”