Operation Petticoat (1959)
Operation Petticoat is a 1959 comedy film directed by Blake Edwards, and starring Cary Grant and Tony Curtis. It was the basis for a television series in 1977 starring John Astin in Grant's role. The film tells, in flashback form, the misadventures of a fictional American submarine, the USS Sea Tiger, during the opening days of World War II.
More at Wikipedia.