glob and grep complement each other. glob is for finding filesystem entries (think "names"), and grep is for searching lists (like lines in a file). If you don't use the grep command line utility, then your Perl program will need to combine both. Use bsd_glob to find the files that are of interest, and then use grep to find the lines in those files.
In reply to Re^2: searching several files for a string at one time
by Corion
in thread searching several files for a string at one time
by daggy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |