in reply to String evaluation of log files

replace
@line = split(/ /,$_); $test = $line[2]; if ($test == '<stuff>')
by
if ( $_ =~ m/<stuff>/ )
then remove the '$_ =~' part, and use a regular expression in m/ /