Piecewise perturbation methods for calculating eigensolutions of a complex optical potential