find . -name \*.pm | xargs grep foo #### grep -rs foo *