Meanwhile, peel and thinly slice the onions. Warm the oil in a shallow pan, add the onions and fry over moderate heat till crisp and golden. Add the curry leaves and fry for a minute or so till they curl, then lift out them with a draining spoon and drain them on kitchen paper.