...sitting behind a primitive gui should do it. you can get a (standalone..without cygwin) grep.exe for windows as well. if you must call it from perl then just wrap inside backticks and assign the output to a variablegrep $phone_num file1 file2 file3
my $result = `grep $phone_num file1 file2 file3`; if($result) { print "number is in blocked list"; }
In reply to Re: Searching text files
by aquarium
in thread Searching text files
by SteveS832001
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |