Will need a potting soil. Compost in pots is a bitch to control your plant's nutrient uptaks, as the organics in the compost lasts longer and can not be flushed-out. Without perlite, no air can penetrate down to the roots causing suffocation.

If you place a saturated pot of soil in the direct sun, the temps in the pot can 'cook' (boil, steam, fry...) the roots.