Help for this page

Select Code to Download


  1. or download this
    use strict; 
    use warnings; 
    ...
    defined $parser->startrule($text) 
        or die "Can't match text";
    
  2. or download this
        startrule: <rulevar: $lbrace_count>
    
  3. or download this
        startrule: lbrace(2)  { $lbrace = length $item[1] }
                   'hello' 
                   rbrace(2)
    
  4. or download this
        startrule: <rulevar: $lbrace_count>
    
    ...
        lbrace: / [{] /xms
        rbrace: / [}] /xms
    
  5. or download this
    Unknown starting rule (Parse::RecDescent::namespace000001::rbrace(18))
    + called
     at prd1.pl line 39.
    
  6. or download this
        startrule: lbrace(2)  
                   'hello' 
    ...
    --output:--
    Unknown starting rule (Parse::RecDescent::namespace000001::rbrace(2)) 
    +called
     at prd1.pl line 39.
    
  7. or download this
    use strict; 
    use warnings; 
    ...
    
    defined $parser->startrule($text) 
        or die "Can't match text";