Simply buy a roll of dear netting from a farm store, and ball it up and put it outside the pen. Maybe put a piece of meat in the center. The snakes will enter and get stuck in the netting. You can also use a 5 gallon bucket with holes drilled for the snake to enter, stuff it full of the netting...