if ( -1 > index $logs[$lcounter], $ENV{'REMOTE_ADDR'} ){ ...