find . -name \*.pm -print0 | xargs -0 grep foo