Help for this page

Select Code to Download


  1. or download this
    $myvar= 'foo';
    print <<ENDHTML;
    <html>
    ...
    </body>
    </html>
    ENDHTML
    
  2. or download this
    open $templatefile;
    $newfilecontent= &parse($templatefile, \@replacements);
    open $newfile;
    print ($newfile, $newfilecontent);