Help for this page

Select Code to Download


  1. or download this
    For example, $+{foo} is equivalent to $1 after the following match:
    
        'foo' =~ /(?<foo>foo)/;
    
  2. or download this
    sub {
      /\G (?:
    ...
        | ... (?{ code3(...); })  # and so on
      )/gcx;
    }
    
  3. or download this
    sub parse {
        my $input= shift;
    ...
        &$lexer || die "Syntax error at '" . substr($_, pos, 10) . "'"
          while pos < length;
    }