Help for this page

Select Code to Download


  1. or download this
    my $data = {
      name => 'name',
      id => 1,
    ...
        { id => 2, title => 'index', ...},
      ],
    };
    
  2. or download this
    <TMPL_VAR NAME=ID>: <TMPL_VAR NAME=NAME><br>
    <TMPL_LOOP NAME=CATEGORIES>
    <TMPL_VAR NAME=ID>/<TMPL_VAR NAME=TITLE> |
    </TMPL_LOOP>
    
  3. or download this
    1: name<br>
    1/projects | 2/index |
    
  4. or download this
    foreach my $key (keys %$result) {
            if ($self->template()->query( name => $key) eq 'LOOP') {
    ...
                    }
            }
    }