The Flyers’ start was awful, a deficit 17 seconds in, and much of the third period was a train wreck, bad turnover after bad turnover.

Along the way, Claude Giroux wasn’t on his game again, and his newly formed top line, with Danny Briere at left wing and back-from-a-concussion Wayne Simmonds on the right side, did nothing but struggle.

This easily could have been another loss, one that would have ruined the ending to a nice homestand and sent the Flyers off for a long road trip reeling.

Just in time, Flyers coach Peter Laviolette juggled his lines Saturday afternoon at the Wells Fargo Center, and presto, out came a rabbit-from-the-hat 4-3 overtime victory over the Carolina Hurricanes.

“Not one of our best, but we got the results we wanted in the end and that’s what matters,” Briere said after saving the day for the Flyers with a game-winner that banged off the right post and then the backside of Hurricanes goalie Cam Ward before going into the net 1:47 into OT.