Help for this page

Select Code to Download


  1. or download this
    for (my $i = 0; $i < @array - $streak_len; $i++) {
        print "$array[$i] .. " . $array[$i] + $streak_len . "\n" if
            $array[$i+$streak_len] == $array[$i] + $streak_len;
    }