Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Left-associative binary operators in Parse::RecDescent

by samtregar (Abbot)
on Dec 14, 2004 at 19:27 UTC ( [id://414823]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      <tmpl_if expr="color eq 'blue'">BLUE</tmpl_if>
      <tmpl_var expr="my_func(color, 'foo')">
      <tmpl_if expr="(color eq 'blue') || (color eq 'red')">
    
  2. or download this
      <tmpl_if expr="(color eq 'blue') || (color eq 'red') || (color eq 'b
    +lack')">
    
  3. or download this
      <tmpl_if expr="((color eq 'blue') || (color eq 'red')) || (color eq 
    +'black')">
    
  4. or download this
    expression    : subexpression /^\$/  { \$return = \$item[1]; } 
    
    ...
                  | /-?\\d+/                  { \$item[1] }
                  | <perl_quotelike>          { \$item[1][2] }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://414823]
Approved by kvale
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-24 20:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found