Functional methods and perturbation theory