A new method is proposed in which constructing exact solutions to nonlinear evolution equations is based on successive applying the perturbation method and apparatus of the continued fractions. It is shown that exact solitary-wave solutions arise in the limiting case as the sum of geometric series of the perturbation method based on the linearized problem.