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