for (grep {-d} <*>) { ## Do stuff with $_; }