Many electric fences only get pulses periodically. My guess is, the snake was squeezing under the electrified portion between pulses. When the pulse came, it snapped back, and tried to bite the fence. It's teeth locked on to the non-electified part, and it couldn't escape, while the pulses continued to come.
__________________
_________________
|...............| We live in the nick of times.
| Len 17, Wid 3 |
|_______________| [pics]
|