print if ($. == $i) .. ($. == $j); # The parentheses are optional.