I have always fed my snakes inside their enclosure, and I've had no ill-effects from it. Snakes are rather clever. They know when I have a rat, and they know when I open the enclosure and it's just time to come out and play.