I think it was just learning curve. He was doing just fine by the time he ended his campaign.
So, at one level I’ve got to agree with you: it’s dumb to enter a presidential campaign with a steep learning curve.
On the other hand, I know about the racial epithet rock and the “heartless” comment was only significant because it was taken by his opponents to be a description of Perry’s position rather than as an experienced nudge in the right direction.
Unfortunately he hurt himself at the wrong time, he left an enduring impression with the GOP voters that he would never pass the 5% threshold, and they (we) moved on.
In 20/20 hindsight it's all so clear isn't it?
:-)