'Corporal punishment' means-