Uhhh well first you could read the file handle into an array.
@array = <FILE>;
and then just make a variable equal to 1 if the string is found in each element, and do nothing if it isn't. If the variable equals 1, that means there was a match.
I kind of forgot how to use the match operator...
Uhhh well first you could read the file handle into an array.
@array = <FILE>;
and then just make a variable equal to 1 if the string is found in each element, and do nothing if it isn't. If the variable equals 1, that means there was a match.
I kind of forgot how to use the match operator...