 It was critically well-received, but was not considered a box office success.The film flips the novel on its head, turning a cautionary tale about foreign intervention into anticommunist advocacy of American power.In writing the script, Mankiewicz received uncredited input from CIA officer Edward Lansdale, who was often said to be the actual inspiration for the American character—called "Pyle" in the novel but unnamed in this film—played by Murphy.