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
Sarfaraz vows to improve fielding
Virat Kohli training hard at the gym
Wasim Akram highlights Shaheen Afridi’s significance
Babar Azam not satisfied with his World Cup so far
Highlights: Hafeez pumped up after Pakistan victory
Amir's splendid WC form perpetuates
Haris Sohail returns to the side with a bang
The culture of trolling players on social media needs to change: Waqar Younis
PCB awards improved central contracts to women cricketers
Naib slams Afghanistan's sloppy fielding after 62-run defeat against Bangladesh