Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    our $color = 'blue';
    print $template->fill_in;
    
  2. or download this
    use strict;
    use warnings;
    ...
    );
    
    print $template->output;
    
  3. or download this
    use strict;
    use warnings;
    ...
    
    my $tt = Template->new;
    $tt->process(\$data, $vars) || die $tt->error;