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] }