Corporal Punishment

Is corporal punishment ever permissible as a disciplinary method? Why or why not?