I agree with corporal punishment. When I was middle school student, I get good mark form teachers who punished me to make me do hard worker. I studied hard because I scare my teacher hit me. So, punishment is a ultimate motive to make student study. You know, I graduated my high school about 7 years ago but I still remember some teacher who concerned about me and hit me. I remember them as good for me.
However, I don't agree with punishment what doing without reason and is difficult to understand. That is just what giving pain upon students.
Actually I wanted to became a teacher and I thought I will never do any physical punishment because I had a awful feeling when I was punished.