Help for this page

Select Code to Download


  1. or download this
    my $content;
    open (FILE,"file.html");
    ...
        $content .= $_;
    }
    close(FILE);
    
  2. or download this
    $content = "<!--\n" . $content . "\n-->";
    
  3. or download this
    my $content = param('content');
    $content =~ s/<!--\n//;
    $content =~ s/\n-->//;
    
  4. or download this
    open (FILE,">file.html");
        print FILE $content;
    close(FILE);