From the 60s until relatively recently, there existed a pervasive attitude that unwanted sexual advances were an irritant rather than a disciplinary matter or a crime.
Sam's youthful breezy and bigoted attitude toward Perry's real struggle with his sexual identity contrasts greatly with the unlikely ending to the play, in which Sam more or less falls on his political sword trying to make up for his careless ignorance.