Perturbation from Dirichlet problem involving oscillating nonlinearities