Help for this page

Select Code to Download


  1. or download this
    
    #!/usr/bin/perl
    ...
    
    $template->process($file, $data) || die $template->error;
    
  2. or download this
    
    <html>
    ...
    </body>
    </html>
    
  3. or download this
    # perl template.pl
    Content-type: text/html
    ...
    file error - parse error - tt/template.html line 12: unexpected token 
    +(thing)
      [% foreach thing in env.keys.sort %]
    
  4. or download this
    
    [% get env %]