in reply to Recursive Grep

A couple comments:

The Wanted function is never called. If that's supposed to be a complete script, is there some lines missing?

Use the o modifier on your re's for better performance.

Replies are listed 'Best First'.
Re: Re: Recursive Grep
by sierrathedog04 (Hermit) on Jun 19, 2001 at 20:03 UTC
    Good catch. The following line was left off just before the subroutine is declared:
    find (\&Wanted, $dir);