As always, I will insist that it's better to have snakes around to control the rodents. I haven't seen any definitive proof that anything can control snakes or keep them out completely. However, the thin gardening mesh to let vines grow up - its usually black and very fine - will entangle snake in it. I consider it cruel and torturous, but I've seen it work on snakes large enough to eat eggs.