perl.org wrote:
Can anyone share a script that recurses a filesystem for files containing one
or more patterns?  Seems like it would be easy to write but if it's already
out there...

This was a recent perl QotW (Quiz of the Week) exercise. My solution can be found at <http://perl.plover.com/~alias/list.cgi?1:mss:1567>. Just specify a C shell style glob (see `perldoc File::Glob`) in quotes on the command line. Or better yet, implement the -r|-R|--recursive option for recursive searching.


BTW, the Perl QotW list is a great place to learn and try your perl skills. Anyone not already on the list should hop over to <http://perl.plover.com/qotw/> and sign up.

Randy.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to