I've had to have an electric fence before Deb. We had a Siberian that would get out at any costs. That fence kept him in. Sadly, he escaped one day while the power was out. GO figure!!!
They make them just for pets, but my neighbor picked mine up for me since i wasn't sure what to get. He got the regular cattle kind. It hurt like a sob, but i survived. (yep, i was dumb enough to touch it.. accidentally of course)
They seem to learn quickly that they don't like it and won't touch it. I don't have one now, because i don't have any escape artists. Might be worth a try though.