The novel DOBIE GILLIS was written by the very funny Max Shulman.
And the official title was "The Many Loves Of Dobie Gillis."