in reply to Re: Grep fail condition
in thread Grep fail condition
I want to enter the loop when the grep *fails*.The below condition enters the loop when the grep passes
if (my @matching_files = grep /\Q$key/i, @syncsource_plf) { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Grep fail condition
by Anonymous Monk on Nov 07, 2010 at 21:12 UTC | |
by iphone (Beadle) on Nov 07, 2010 at 21:42 UTC | |
by ikegami (Patriarch) on Nov 07, 2010 at 22:11 UTC |