I generally think electric is best for regularly moving animals, not as permanent fence. Never experimented with it as a perimeter fence though.
Batteries die so you’d want it to be hard wired somehow and designed as resiliently as possible (think trees falling on it, etc)