Help for this page

Select Code to Download


  1. or download this
    use Parse::RecDescent;
    
    ...
    
    Parse::RecDescent->Precompile($grammar, "grammar")
    or die("Bad grammar\n");
    
  2. or download this
    $_tok = do {
       if (1) {
    ...
          0
       }
    };
    
  3. or download this
    use Parse::RecDescent;
    
    ...
    or die("Bad grammar\n");
    
    $parser->parse('');
    
  4. or download this
           ERROR (line 1): FOO!