It will depend on his big supporters. If the money is still there, he will continue to South Carolina. More power to him.
If Perry had been consistently polling in the top three, I think his big donors would shrug off this loss and pour more money on the campaign, but the fact is, he's been polling in single digits for six months now.
I don't see anything that would give his big donors hope that he'll do better down the road.