The threat of caning, especially like that in the example linked to earlier would be, certainly for me, enough to make me think bloody long and hard about doing ANYTHING that could put in line for it.
To the extent that I would seriously NOT go to a country that had such punishments. Not from a human rights issue, but from a "What would happen if I were mistakenly arrested and that could happen to me" point of view.
And yes, the human rights issue is also important, but hey, I'm initially selfish.
Then you get past the threat and you actually have to cane someone. Let's be honest, the caning you'd get in this country would not be like the one in the example linked to.
So, then the cane has been administered. Where do you go from there?
Cane them again. That didn't work, obviously, they're back again.
Double it?
Make it more severe?
Where does it stop?
As with most punishments, it's the threat of getting caught that keeps most on the straight and narrow, and that's what, I feel, keeps "society" going. That most of us conform and it is, bye and large "fear" of getting caught that does that.
Take that fear away and where do we end up?
There will always be those who, rightly or wrongly end up being punished and then the fear of getting caught is taken away.
You'll never put the fear back into them, that genie is well and truly out of the bottle. So what do you do?
Wish I had the answer, but I really don't all I know is that caning is not an answer is the start of a much bigger problem.
And Yes, parents should be allowed to slap their children.