Berard kept the puck on a 2-on-1 rush and beat Martin with a short-side wrist shot from the left circle to tie it 2-2 at 9:13.
The Rangers took a 3-2 lead at 18:49. Reilly Smith slipped past Carolina defenseman Dmitry Orlov and fed a backhand to Edstrom for his second of the season.
“Playing a team like Carolina, there’s going to be a lot of back and forth,” Smith said. “They’re kind of a high-opportunity team. We did enough to put ourselves in position to win tonight. Sometimes it just doesn’t work out.”
Prior to the losing streak, the Rangers had not lost consecutive games all season.
“We’re going through a little bit of adversity as a group,” Rangers captain Jacob Trouba said. “Everybody knows it’s probably a better effort for us, but there aren’t really any moral victories at this level. So keep grinding, keep putting the work in and turn this thing around as a group.”
Martin earned his second straight win, filling in for injured goalies Frederik Andersen and Pyotr Kochetkov. He made 15 saves in a 6-4 win against the Dallas Stars on Monday.
“We put him in a bit of a tough spot, and obviously he was thrown to the wolves a little bit,” Brind’Amour said. “But he’s handled it. That’s crucial.”
NOTES: Shesterkin has allowed at least three goals in each of his past four starts. … Hurricanes forward Sebastian Aho, who earned the secondary assist on Jarvis’s goal, has seven points (two goals, five assists) in a three-game point streak. … Orlov earned a secondary assist on Drury’s goal and has an assist in each of the past six games. … Necas leads the NHL with 37 points (12 goals, 25 assists) and has points in 19 of Carolina’s 22 games.