Hello, Can I do something like this: my @array; while (<LOGFILE>) { 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 @array. Thanks everyone, Tyler -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- Re: searching for a few things Tyler Longren
- Re: searching for a few things Brett W. McCoy