Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Random Tips on Parse::RecDescent

by hsmyers (Canon)
on Jul 10, 2002 at 16:00 UTC ( #180778=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        name:                   
            'match' | 'name' | 'mode' | 'priority'
    
  2. or download this
        name:                   
            'match'
            | 'name'
            | 'mode'
            | 'priority'
    
  3. or download this
        name:                   
            'match'
    ...
            { [$item[0],$item[1]] }
            | 'priority'
            { [$item[0],$item[1]] }
    
  4. or download this
        sub AUTOLOAD {
            my $tree = shift;
    ...
            print STDERR "@@@ $AUTOLOAD(\$tree) @@@\n";
            recurse($tree);
        }
    
  5. or download this
        sub startrule {
            my $tree = shift;
    ...
            }
        }
        
    
  6. or download this
        style_option:
            'version'
    ...
            | /[a-zA-Z0-9:_.\-]+/
            { [@item[0..$#item]] }
            
    
  7. or download this
        style_option:
            'version'
    ...
            /[a-zA-Z0-9:_.\-]+/
            { $item[1] }
        
    
  8. or download this
        preserve_space:
            'preserve-space' '[' 'elements' '=' qstring ']' paren(?)
        
    
  9. or download this
            { [$item[0],$item[5]] }
        
    
  10. or download this
        xcomment:
            <skip: qr/[ \t]*/> newline(0..) '<!--'
    ...
                 $return = ['xcomment',$return];
            }
        
    
  11. or download this
        #_________________________________________________________________
    +_____________
    
    ...
    
        #_________________________________________________________________
    +_____________
        
    
  12. or download this
        startrule:
            is_printable(s)
    ...
            | 'priority'
            { $item[1] }
        
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://180778]
Approved by ignatz
Front-paged by TStanley
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2014-09-19 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (138 votes), past polls