The actor that played Gomer Pyle on "The Andy Griffith Show" also co-starred with Dolly Parton in what 1982 musical?
The Best Little Whorehouse in Texas
Title: The Best Little Whorehouse in Texas (film)
Passage: The Best Little Whorehouse in Texas is a 1982 American musical comedy film co-written, produced and directed by Colin Higgins (in his final film as director).  It is an adaptation of the 1978 Broadway musical of the same name, and stars Dolly Parton, Burt Reynolds, Jim Nabors, Charles Durning, Dom DeLuise, Noah Beery, Jr., Robert Mandan, Lois Nettleton, Theresa Merritt, Barry Corbin, Mary Jo Catlett and Mary Louise Wilson.
Title: Goober Pyle
Passage: Goober Pyle is a fictional character in the American TV sitcom "The Andy Griffith Show" and its later sequel series "Mayberry RFD".  He was played by George Lindsey.  Lindsey first read for the part of Gomer Pyle, Goober's cousin, which went to actor-singer Jim Nabors.  The two actors had similar backgrounds; Lindsey was from Jasper, Alabama, while Nabors was from Sylacauga, Alabama.
Title: Jim Nabors
Passage: James Thurston Nabors (born June 12, 1930) is a retired American actor, singer, and comedian.  Born and raised in Sylacauga, Alabama, Nabors moved to southern California because of his asthma.  While working at a Santa Monica nightclub, The Horn, he was discovered by Andy Griffith and later joined "The Andy Griffith Show," playing Gomer Pyle.  Nabors, Betty Lynn, Elinor Donahue, and Ron Howard are the last surviving regular cast members from that series.  The character proved popular, and Nabors was given his own spin-off show, "Gomer Pyle, U.S.M.C.."
The Best Little Whorehouse in Texas (film) Jim Nabors