 Carl Reiner (qv) would often ask cast and crew members about funny  things that had happened to them, then he would write whole episodes  about these occurrences. As a result, many of the episodes over the  course of the shows five