Realizing discontinuous wave functions perturbatively