Electric fences don't electrocute; they simply deliver a mild shock. Although I do agree that barbed wire would be a much simpler solution.