You have the line

print "5<br>". "6<br>;";

with a period, not a dash. But that is only after the 4<br> that causes trouble, so that may not explain your problem.

Check the source code of the output in your IE browser, not the final output. There you might see something that explains the unwanted behaviour.

In reply to Re: Perl CGI, IIS and other unholy unions by jotti
in thread Perl CGI, IIS and other unholy unions by mush4brains

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":