ANAHEIM, Calif. -- Corey Perry had his second hat trick of the season and the Anaheim Ducks beat the Buffalo Sabres 4-1 on Wednesday night for their sixth straight victory.

Ryan Kesler also scored, and Frederik Andersen made 22 saves, losing a bid for his second consecutive shutout when Tyler Ellis scored off a rebound with 5:04 to play. That ended Buffalo's scoreless streak at 192 minutes, following a 1-0 loss to Florida and 3-0 loss to Boston.

Andersen, who beat St. Louis 3-0 on Sunday night for his first NHL shutout, has been in net for each of the six wins. He has stopped 154 of 162 shots after John Gibson lost the opener in Pittsburgh. Last season, the Ducks won seven straight after a season-opening loss at Colorado.

Perry completed his seventh career hat trick with 1:25 left, scoring into an empty net after beating Michal Neuvirth on a one-timer from the high slot with 2:43 remaining. The 2011 MVP and three-time All-Star has eight goals in his first seven games -- including three in the Ducks' opening-night loss.

FLYERS 5, PENGUINS 3

PITTSBURGH -- R.J. Umberger and Matt Read scored 2 minutes apart in the third period to lift Philadelphia past Pittsburgh.

Umberger, a Pittsburgh native, beat Marc-Andre Fleury 6:50 into the third to break a tie and Read followed with a backhander to help the Flyers improve to 12-2-1 at Consol Energy Center since the arena opened in 2010.

Sean Couturier had a goal and an assist, Mark Streit and Pierre-Edouard Bellemare also scored for the Flyers, and Ray Emery stopped 21 shots.

Nick Spaling had a goal and an assist for Pittsburgh, Pascal Dupuis and Marcel Goc also scored, and Marc-Andre Fleury made 28 saves.

Though the game featured two U.S. teams, the sell-out crowd sang "O Canada" before the opening faceoff as a tribute to a Canadian soldier killed in attack in Ottawa on Wednesday.

OILERS 3, CAPITALS 2

EDMONTON, Alberta -- Ben Scrivens made 32 stops and Edmonton handed Washington its first regulation loss of the season.

Justin Schultz, Ryan Nugent-Hopkins and Nikita Nikitin scored to help the Oilers win their second straight game after opening the season 0-4-1. Teddy Purcell added two assists.

John Carlson and Mike Green scored for Washington. The Capitals dropped to 3-1-2.

Twenty seconds after Green gave the Capitals a 2-1 lead early in the second period, Nugent-Hopkins countered for the Oilers. Nikitin put Edmonton ahead on a power play with 3:52 left in the second.