On Tue, 18 Sep 2001, Tyler Longren wrote:
> Can I do something like this:
> my @array;
> while () {
> chomp;
> push (@array, $_)
> if m/AAA/i;
> print "Reading logs...\r";
> }
>
> but have it search for more than one string (AAA being that one string)?
> I'd like to search
Hello,
Can I do something like this:
my @array;
while () {
chomp;
push (@array, $_)
if m/AAA/i;
print "Reading logs...\r";
}
but have it search for more than one string (AAA being that one string)?
I'd like to search for AAA, BBB, and CCC and have all results be put into