if ( ( my $b = index( $relsearch, $sb ) ) >= 0 ) { $relval += $b; $it++; }