in reply to Help with grep

The ! tells you it want all files that DON't match the $search_string. Try it without that and see if you have any luck. If not its probably something todo with your regex. Try hand codeing the regex first, then work on creating it dynamicaly.


___________
Eric Hodges

Replies are listed 'Best First'.
Re^2: Help with grep
by LeeC79 (Acolyte) on Jul 16, 2004 at 17:32 UTC
    Of course... The "!" means not, sorry. I tried without and it returned nothing at all. I am new to perl, so when you talk of the regex, what do you mean?