Leinster were made to fight all the way for their second Guinness Pro 12 win at the RDS Arena with a late bonus point try sealing a 37-23 triumph over the Cardiff Blues.
Replacement Luke McGrath sniped through under the posts to ensure a five-point return for Matt O'Connor's men and rob Cardiff of their losing bonus point.
Rhys Ruddock's storming solo try had Leinster leading 13-9 at half-time, with Ian Madigan kicking eight points and Rhys Patchell contributing all nine for Cardiff.
Mick McGrath, who was playing All-Ireland League rugby with Clontarf last season, and man-of-the-match Gordon D'Arcy both touched down during a clinical five-minute spell after the break.
Converted efforts from Cory Allen and Sam Warburton put the Blues back in the hunt at 27-23, b ut the defending champions made certain of victory with Madigan's third penalty and Luke McGrath's late try.
A Rob Kearney raid on the right set up good field position for Leinster early on, with Madigan's subsequent penalty punishing an Allen offside.
A binding offence by Adam Jones allowed Madigan to double Leinster's lead from further out, but the centre was narrowly wide with a 14th minute penalty attempt.
Patchell, the league's current top scorer, lofted over a left-sided penalty to open Cardiff's account by the end of the opening quarter.
The Blues full-back missed an easier kick as referee Ian Davies' whistle continued to dominate proceedings, with neither try-line coming under threat.
Patchell made the most of his third effort on goal, bring the visitors level at 6-6 after captain Josh Navidi was first in to win a ruck decision.
Individual errors prevented Leinster from making much progress, while Cardiff centre Dafydd Hewitt had to be replaced after coming off worse in a clash of heads with Madigan.
The game finally burst into life in the 37th minute when Jimmy Gopperth's short pass sent Ruddock hurtling through a gap and two crunching hand-offs later, the fast-paced flanker powered over in the right corner.
Madigan added a terrific conversion but Patchell nailed an injury-time penalty from wide out, just reward for a late attacking flurry from the Welshmen.
The second half was only six minutes old when D'Arcy's pinpoint pass put Madigan dashing away up the left wing and he fed replacement winger Mick McGrath, who impressively bumped off George Watkins' tackle, regained his feet and stretched over for his first Pro 12 try.
Madigan added the extras for a 20-9 advantage and Cardiff soon fell further behind, as Gopperth cut through midfield and had D'Arcy on his shoulder to finish off under the posts.
D'Arcy's 60th try in Leinster colours was converted by Madigan, who soon blundered when attempting to retrieve a kick and the loose ball was pounced upon by Allen for a soft converted score.
That was Cardiff's first try in 235 minutes of rugby and they had a second soon after as Dan Fish's floated pass put Warburton over to the left of the posts. Patchell's conversion suddenly made it a four-point game.
But Leinster showed the greater composure in a frantic finish though, with Madigan clipping over a close range penalty and Bryan Byrne used a last-gasp turnover to put Luke McGrath through for try number four.