Leon Perera resigns