 Weinberger and Stan Daniels (of "Taxi") as well as Neil Simon (for "adaptation"), and is based on the 1978 book "The Lonely Guy's Book of Life" by Bruce Jay Friedman.Martin portrays a greeting card writer who goes through a period of bad luck with women.In his despair, he writes a book titled "A Guide for the Lonely Guy", which changes his life.