RALEIGH, N.C. (AP) -- Nathan Gerbe and Chris Terry scored in the shootout, and the Carolina Hurricanes beat the Philadelphia Flyers 3-2 on Saturday.

Jordan Staal had a goal and an assist, and Elias Lindholm also scored in regulation to help the Hurricanes win a matchup of teams eliminated from playoff contention.

Sean Couturier sent it to overtime by scoring with 1:50 left in regulation. He also assisted on Michael Raffl's power-play goal for the Flyers, who erased a 2-0 deficit in the second period.

Carolina Hurricanes' Nathan Gerbe (14) scores against Philadelphia Flyers goalie Ray Emery (29) during shootout Saturday. (AP Photo/Gerry Broome)

Nick Cousins scored in the shootout for Philadelphia, and Ray Emery kept the Flyers in the game by stopping Victor Rask in the third round.

But Cam Ward closed it out by denying captain Claude Giroux's backhand.

The Hurricanes had won just four of their previous 16 games and were coming off a 6-1 loss at Florida.

Ward stopped 21 shots for Carolina, while Emery made 24 saves for the Flyers.

Philadelphia - which has earned points in five straight games - finished with a 10-20-11 road record.

Carolina improved to 5-7 in shootouts while the Flyers fell to 3-11 in the tiebreaker.

Couturier scored his 14th goal after a puck jumped Carolina defenseman Michal Jordan's stick and went straight to the Flyers center, who beat Ward from point-blank range.

That came after Raffl deflected his long wrist shot with 10:14 left in the second with 10 seconds remaining on a hooking minor to Alexander Semin.

Lindholm and Staal gave the Hurricanes an early two-goal lead. Lindholm scored his 17th goal 11 minutes in when he put the rebound of Staal's shot past Emery.

Staal scored with 16:33 left in the second when he took the puck from defenseman Nicklas Grossman near center ice, skated into the circle and beat Emery with a wrist shot.

NOTES: Philadelphia D Michael Del Zotto had two assists. ... Terry's four-game point streak ended. ... The teams wrap up their five-game season series Thursday in Philadelphia. ... The Hurricanes have one more home game left, next Saturday night against Detroit.

(© 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed)