Help for this page

Select Code to Download


  1. or download this
      substr($str, 0, $pos1) = '';
    
  2. or download this
      print $indent x $depth, substr( $str, 0, $pos1, '' );
    
  3. or download this
      my $_consume = sub {
        print $indent x $_[2], substr $_[0], 0, $_[1], '';
    ...
        if (!defined $first) {
          $_consume->($str, $length, $depth);
        } elsif ($first eq CONST1) {
    
  4. or download this
          $_consume->($str, $length + 1, --$depth);
        } elsif (defined(my $newlen = f2($str, $first))) {
    ...
        }
        return $str;
      }