Boyle scored the go-ahead goal at 6:58 of the third period on a rebound of Mike Matheson's shot to give the Penguins a 3-2 lead.
"It's nice to chip in; we practice with [Sidney Crosby, Evgeni Malkin, Jeff Carter] every day so we try to pick up some stuff from them, but you want to score goals," Boyle said. "That doesn't change whether you're 7 or 37 years old."
Bryan Rust scored for the fifth straight game, and Tristan Jarry made 28 saves for the Penguins (30-11-8), who have won three in a row since the All-Star break after losing their previous four. Pittsburgh has won six straight road games.
"We're trying to play the game that gives us the best chance to win, and our players have a real good understanding of what that looks like," Penguins coach Mike Sullivan said. "When we're on the same page from a collective effort standpoint, I think we're a team that that plays a stingy game. We do it differently than a lot of teams. We're not a team that sits back and just defends. I think our best defense takes place 150, 160 feet from our net, just with our puck possession game or our pursuit game, using our quickness, our stick skills."