Complex sentence: The series and several episode scripts were adapted from a 1951 collection of short stories of the same name written by Max Shulman, who had also written a feature film adaptation of his short stories for MGM in 1953, "The Affairs of Dobie Gillis".
Split into simpler sentences: The series and several episode scripts were adapted from a 1951 collection of short stories with the same title written by Max Shulman. Shulman had also written a feature film adaptation of his short stories for MGM in 1953, "The Affairs of Dobie Gillis".