Perera was the most devastating as he recorded figures of 6 wickets for 32 runs with Herath and Sandakan sharing the rest.
The modest total of 222 looked imposing after the Sri Lanka bowlers went to work and reduced Bangladesh to 56/4 at stumps.
Perera scored a valiant unbeaten 92 and together with Angelo Mathews (83) had put on 62 runs for the sixth wicket to keep Sri Lanka afloat in their first innings, which eventually finished at 291 runs in Galle Test.
GALLE, Sri Lanka: Left-arm spinner Rangana Herath's six-wicket haul brought Sri Lanka close to a fascinating victory after Pakistan was bowled out for 180 on the last day of the first test on Sunday. Sri
GALLE, Sri Lanka: Left-arm spinner Rangana Herath's four-wicket haul reduced Pakistan to 153-8 as Sri Lanka pushed for victory on the last day of the first test on Sunday. Pakistan is 71 runs ahead after
GALLE, Sri Lanka: Pakistan was reduced to 66-4 at lunch as it battled to salvage a draw on the fifth and final day of the first test against Sri Lanka on Sunday. The visitors still
COLOMBO, Sri Lanka: South Africa frustrated Sri Lanka's spin attack with a defensive batting strategy to earn a draw in the second test on Monday and win the two-match series, 1-0. Sri Lankan spinner Rangana
COLOMBO, Sri Lanka: Sri Lanka's Mahela Jayawardene was run out for 165 after helping the hosts build a strong total on day two of the second test against South Africa, moving to 395-6 at lunch