Though I've never had trouble with deer, I have had trouble with raccoons in the past, and a hotwire does the trick.

T.G.