Hi folks,
When I show some html indirectly trough cgi with IExplorer.. e.g. :
[tt]
#!/usr/bin/perl
&startpage;
sub startpage {
print <<HTML_END;
<html>
<head>
</head>
<body>
some interesting text
</body>
</html>
HTML_END
[/tt]
then it works completely fine. But when I start the same script on Netscape or Opera they just show the source code. With other words: they don't understand the text as html. As I'm not a Perl Pro, you perhaps could give me some advice?!?
Thx
Mikk
When I show some html indirectly trough cgi with IExplorer.. e.g. :
[tt]
#!/usr/bin/perl
&startpage;
sub startpage {
print <<HTML_END;
<html>
<head>
</head>
<body>
some interesting text
</body>
</html>
HTML_END
[/tt]
then it works completely fine. But when I start the same script on Netscape or Opera they just show the source code. With other words: they don't understand the text as html. As I'm not a Perl Pro, you perhaps could give me some advice?!?
Thx
Mikk