Hydrogenic wavefunctions and perturbation theory