Carl Reiner was a friend of José Ferrer. When he was offered his role in this episode, it was accompanied by a note from Miguel Ferrer saying "Dad would have wanted you to."
The episode title refers to a J. D. Salinger story, "For Esme - With Love and Squalor".