He was declared man of the match. A whirlwind knock of 47 runs off just 19 deliveries from the Sri Lankan all-rounder, with five towering sixes added for good measure.
The decision did not go in their favour as World XI bowlers were thrashed in the powerplay overs despite getting the wicket of opener Fakhar Zaman. Sohail Khan was bowler who broke the opening partnership by bowling out Tamim Iqbal, when he was playing at his individual score of 23 runs.
World XI skipper Faf du Plessis survived a close run-out chance when his counterpart Sarfraz uprooted the stumps in a flash.
Amla, who scored his seventh global Twenty20 half-century, was the steadier of the two, with two sixes and five fours as he helped Perera add 69 runs for the fourth wicket off just 35 balls.
Babar Azam was the star of the night with an impressive batting display.
At one stage the World XI had done brilliantly to pull Pakistan's batsmen back as they struggled to let loose in the middle-overs. He found good support from Shoaib Malik lower down.
His scratchy time in the middle meant that momentum built by the World XI was lost as Pakistan managed to bring down the run-rate considerably.
Their hearts would ultimately be broken when Perera hit Rumman Raees straight down the middle for a maximum to hand the World XI an unlikely victory.
The series is locked at 1-1 with Pakistan winning the first match by 20 runs while World XI won the second game by 7 wickets. The World XI, with players from seven countries, roared back with a seven-wicket victory in the second game on Wednesday.
Babar Azam was once again sublime, hitting five sweetly timed boundaries in his 38-ball 45. His innings had taken him to 1692 runs in Twenty20 Internationals to become Pakistan's highest run-getter in the format, going past Umar Akmal's 1690 runs.
Malik hit two sixes in the last over before holing out off the last delivery of the innings. Imad Wasim was another batsman who contributed significant 15 runs as the Pakistani batsmen failed to hit huge shots and big total.