Perturbation theory and linear partial differential equations with delay