There's an overhead backlash \
in one of your print
statements. There's another one where you copied that line further down, too. It escapes the closing "
, so everything after it is interpreted as a string.
<body>
EndText
print "\r\n\"; # <--- HERE (and also further down)
print "233\r\n";
Do you write your code with an editor/IDE that has syntax highlighting? Turn it on and make strings stick out. That way it will highlight you everything after the escaped "
as a string and you'll not overlook this again.
Also, you should use strict
and use warnings
.