Help for this page

Select Code to Download


  1. or download this
    use Text::Template 'fill_in_file';
    my $TEMPLATE= 'my.templ';
    ...
    #                                         );
    
    print $filled_template;
    
  2. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html
            PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
    ...
       { "<p>Field2: $field{field2}</p>" if( $field{field2} }
      </body>
    </html>