in reply to Searching a file for two strings
Just to get you on the road
open(XYZ, "<xyz") or die $!; print "OK\n" if grep({ /Message/ or /here/ } <XYZ> ) >= 2; close(XYZ);
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium
|
|---|