Gagne started the decisive sequence by leading an odd-man rush during a 4-on-4 play. He slipped the puck to Carle during Philadelphia's 3-on-1 break, and the defenseman put the Flyers up 2-1 by beating Cam Ward high to his glove side for his second goal.
Antero Niittymaki made 27 saves for the Flyers, who have won six straight for the first time since Oct. 30-Nov. 12, 2005.
Chad LaRose scored for the third straight game, and Ward made 24 saves for Carolina before he was pulled with 1:45 left for an extra attacker. The Hurricanes held a 28-27 advantage in shots despite putting just one puck on net in the first period, yet lost their third straight and sixth in nine games.
Gagne gave Philadelphia an early lead 6 minutes in, taking advantage when four Carolina players surrounded the puck in front of Ward and it slipped his way and he chipped it in from the right side of the net.
He then capped his big night by beating the final buzzer and scoring into an empty net for his 13th goal.
Carolina - booed during the first intermission after its early offensive futility - tied it 1-all roughly 2 minutes into the second when LaRose wristed a shot off Niittymaki's pads and sneaked the rebound through the goalie's legs for his seventh of the season.
Notes: Gagne has points in nine straight games. ... Carolina RW Scott Walker left in the first period with a lower-body injury suffered when he was hooked by Flyers D Andrew Alberts. ... The Hurricanes activated D Frantisek Kaberle (broken leg) from the injured list, but he wound up scratched and he missed his 19th straight game. ... Carolina fell behind 1-0 for the eighth straight game. ... The teams meet three more times in the next 15 days.