Eigenvalue problem for partial differential equations with deviating arguments and perturbation theory