Help for this page

Select Code to Download


  1. or download this
    my $tt = Template->new({
        VARIABLES => {
    ...
    };
    
    $tt->process('myfile', $vars);
    
  2. or download this
    my $tt = Template->new({
        CONSTANTS => {
    ...
            joint => ', ',
        },
    });
    
  3. or download this
    my $tt = Template->new({
        CONSTANTS => { current_constants() },
    });