#include <h.allo>
Woran liegt das, das diese here documents manchmal funktionieren, manchmal nicht. Das macht mich noch wahnsinnig. Einmal gehts, plötzlich irgendwann gehts nicht mehr. Immer die gleiche Meldung :
WARUM ?
Cant find string terminator EOF anywhere at EOF at forum.cgi line 8
#!/usr/bin/perl -w
use CGI;
use strict;
my $query = new CGI;
print $query->header;
print <<EOF;
<html>
<head>
<style type="text/css">
h1{font-size:50px; color:#ff0000};
body {font-size:20px; font-family:Verdana, sans serif; color:#000000}
.acid{color:#0000ff};
</style>
<title>Forum</title>
</head>
<body>
<h1>ACHTUNG !</h1>
Die neue Adresse fürs Forum lautet
<span class="acid"><a href="http://forum.acid4u.com">forum.acid4u.com</a></span>.<br>
Du wirst in 10 Sekunden automatisch weitergeleitet.
<script type="text/javascript">
function leiten() {
window.location.href="http://forum.acid4u.com";
}
window.setTimeout("leiten()",10000);
</script>
</body>
</html>
EOF