"The Moon Is Blue" by F. Hugh Herbert opened on Broadway on March 8, 1951, and ran for 924 performances. The Broadway production was directed by Otto Preminger, and starred Barbara Bel Geddes, Donald Cook, and Barry Nelson.
This movie was used as a part of a plot line in the "The Moon is Not Blue" episode of "M*A*S*H." The plot line focuses on Hawkeye Pierce and B.J. Hunnicutt trying to obtain a copy of the movie for the 4077th after hearing it has been banned in Boston. They think it must be a dirty movie, but are disappointed when they finally get to see it. (Hawkeye: "I'm outraged! I've never seen a cleaner movie!" Father Mulcahy: "Well, one of the characters *did* say the word, 'virgin.'" Hawkeye: "That's because everyone *was*!")