Weyl's uniform distribution under periodic perturbation