in reply to Re: grep text (alternative)
in thread grep text (alternative)

Five minutes? Reading it backwards, it's clear and obvious1 that it's a perlish implementation of grepping through all files in a series of directories. It takes a sub as the first param, which is used to determine if a given line matches or not, the rest of the params are the directory names to look in. It returns the list of files that have a match.

1 No, not really.