With Sri Lanka chasing New Zealand's 319 for seven, they were on the ropes at 128 for seven when Perera opened up.
All-rounder Jimmy Neesham and opener Martin Guptill are also in the Twenty20 squad to face Sri Lanka
In reply to New Zealand's 371 for seven, Sri Lanka were all out for 326 with six balls remaining.
With de Grandhomme out and Corey Anderson injured, Jimmy Neesham and Doug Bracewell have been recalled as all-rounder options
The overwhelming victory gave New Zealand the series 1-0 after the first Test in Wellington was drawn.
At the crease were Dilruwan Perera on 22 and Suranga Lakmal on 16 with their 660-run target out of sight.
Play resumes on the fourth day Saturday with Dinesh Chandimal on 14, Kusal Menis on six and Sri Lanka needing another 636 runs
Wahab Riaz, Faheem Ashraf included in 20-man shortlist for England Tests
The flair, the calmness and the promises: Pakistan's rhetoric in the lead up to first Test
'We maintained a reasonable run rate considering the conditions' - Shan Masood
Sohail Khan bags five wickets as Pakistan's leading batsmen flounder
'Plans underway to stage remaining PSL matches this year' - PCB
Babar Azam fluency tames sloppy England on rain-curtailed opening day
Broad takes 500 Test wickets, Woakes bags five as England reclaim Wisden Trophy
Pakistan grapple with selection predicament as fired up England eye strong start
Team Green put on improved batting display after Naseem Shah shines again
Haris Rauf set to join Pakistan squad in England after returning two negative tests