Help for this page

Select Code to Download


  1. or download this
    my $t =Template->new();
    $t->process("his.tmpl", {lines=>\@vars}, "output.html" ) 
      or die $t->error();
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    #this will print replacement character to test_out1.html
    my $t=Template->new();
    $t->process("test.tmpl",{a=>$decoded},"test_out1.html");
    
  3. or download this
    <html>
    <head>
    ...
    </body>
    </html>
    
  4. or download this
    #!/usr/bin/perl
    use strict;
    ...
    #this is good
    my $t=Template->new();
    $t->process("test.tmpl",{a=>$encoded},"test_out2.html");