Hallo,
ich möchte HERE-Ausgaben in eine Datei schreiebn.
8<---------Teil A------------8<
...
print <<XXX;
<html>
Hallo!
</html>
XXX
8<---------Teil B------------8<
open(SAVED, ">/home/user/text/test.txt");
select (SAVED);
print <<XXX;
Viel Text Viel Text Viel Text
Viel Text Viel Text Viel Text
Viel Text Viel Text Viel Text
XXX
close (SAVED);
...
8<---------------------8<
Die Datei test.txt wird erzeugt aber das Wort "Hallo!" erscheint im Browser nicht mehr... :-/ Wenn ich das Teil B lösche, dann steht im Browser "Hallo!" Was mache ich falsch?..
Danke