There was an opt out on the Gardasil issue.
And there was no "individual mandate" involved. Nobody was being forced to pay for something they did not want.
Totally different situations. Thus, no hypocrisy involved.
If you want to knock Perry, you're free to do so. But please get it right -- if you want any credibility.