Help for this page

Select Code to Download


  1. or download this
        $mid = int( ( $lo + $hi ) / 2 );
        if ( $hi == $lo ) { return $mid }
    
  2. or download this
        return $hi
            if  $hi == $lo;
        $mid = int( ( $lo + $hi ) / 2 );
    
  3. or download this
        if ( $suff[ $indices[ $index ] ] =~ /^$pattern/ ) {
            push @positions, $indices[ $index ] + 1;
    ...
        else {
            last;
        }
    
  4. or download this
        last
            if  $suff[ $indices[ $index ] ] !~ /^$pattern/;
        push @positions, $indices[ $index ] + 1;