Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Random Tips on Parse::RecDescent

by hsmyers (Canon)
on Jul 10, 2002 at 16:00 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found