RALEIGH, N.C. -- Dougie Hamilton scored at 1:56 of overtime to give the Carolina Hurricanes a 5-4 win against the Philadelphia Flyers at PNC Arena on Tuesday.
Hamilton carried the puck into the right face-off circle and shot between the legs of Flyers defenseman Travis Sanheim.
"I didn't know until I turned the corner, and he didn't have his stick," Hamilton said. "I just tried to see if I could get in there, and thought I could get a little shot through."
[WATCH: All Flyers vs. Hurricanes highlights]
Hamilton, Warren Foegele and Jake Gardiner each had a goal and an assist for the Hurricanes (25-16-2), who had lost their past two games. Sebastian Aho had two assists, and James Reimer made 17 saves.
"It was sloppy for us," Carolina coach Rod Brind'Amour said. "You want to make the other team earn their goals. It didn't feel that way. It's not how we want it to be done. Not that we were bad tonight, but we need to be better for sure."
Video: Dougie Hamilton wins it in overtime for Carolina
Brian Elliott made 28 saves for the Flyers (22-15-6), who are 0-3-1 in their past four games and finished a six-game road trip 1-4-1.
"We played harder, and I thought we showed some guts getting a point out of that," Flyers defenseman Matt Niskanen said. "Would have loved the win, but it's a step in the right direction."
Sanheim came from behind the net and beat Reimer five-hole to tie the game 4-4 at 15:49 of the third period.
"They play man-to-man defense, so anytime you can beat your guy [and] get a step on him," Sanheim said. "I had a lane right to the net."
Video: PHI@CAR: Sanheim scores after great individual effort
Nicolas Aube-Kubel scored for Philadelphia after a turnover by Carolina defenseman Jaccob Slavin to cut it to 4-3 at 14:27 of the second period.
Travis Konecny gave the Flyers a 1-0 lead at 37 seconds of the first period when his wrist shot from the right circle went under Reimer's arm. Michael Raffl made it 2-0 at 8:57 when he took a pass from Jakub Voracek and cut across the slot to score past the sprawling Reimer.
"Being up 2-0, we've got to do a better job of continuing to press and look for that third, as well as defending well," Sanheim said.
Lucas Wallmark tucked a backhand inside the right post to cut it to 2-1 at 9:40.
"I think [Wallmark's] goal was really important," Brind'Amour said. "As soon as they got the second one, we answered right back. That got us back in the game."
Foegele tied it 2-2 off a cross-ice pass from Jordan Staal at 15:27.
Video: PHI@CAR: Gardiner hammers slap shot for go-ahead goal
Aho set up Gardiner for a slap shot from the left circle that gave the Hurricanes a 3-2 lead at 3:12 of the second period.
"It's definitely good to get a goal," Gardiner said. "We (defensemen) try to chip in offensively when we can. Obviously it was a big part of the game tonight."
Joel Edmundson extended the lead to 4-2 at 4:57 on a one-timer off a feed from Hamilton.
They said it
"I thought [Voracek] played a full 200-foot game, [Konecny] showed a lot of bite and a lot of fire to his game, and that's what we need. We need our top performers at the top end, and for the most part, these guys did that. I think we took a step in the right direction." -- Flyers coach Alain Vigneault
"I think we're all happy to get the two points there, but that's not the way we're supposed to play. We kind of got lucky there. We've got to get our mindset going into the next couple home games and get to playing the way we can. That's playing fast and hard and making the right decisions at the right time." -- Hurricanes forward Warren Foegele
Need to know
Justin Williams signed a one-year, $700,000 contract with the Hurricanes on Tuesday. The 38-year-old forward announced Sept. 2 he was taking some time away from the NHL. He was captain of the Hurricanes last season, his 18th in the NHL. … Hamilton has 39 points (14 goals, 25 assists) through 43 games, matching his 82-game total from 2018-19. … Carolina forward Jordan Martinook had an assist for his 100th NHL point (43 goals, 57 assists) in his 357th game. ... The Flyers will play their next three games and six of the next seven at home. … Couturier has five points (two goals, three assists) in a three-game point streak. … Philadelphia defensemen Shayne Gostisbehere and Robert Hagg each was plus-3.
Flyers: Host the Washington Capitals on Wednesday (7:30 p.m. ET; NBCSN)
Hurricanes: Host the Arizona Coyotes on Friday (7:30 p.m. ET; ESPN+, FS-A PLUS, NHL.TV)
Video: Hamilton scores in OT to lift Hurricanes to 5-4 win