The problem is not with your perl program but with the configuration of your web server. Why don't you use Apache instead?
-- Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] "Phill" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi there I am having trouble getting my first Perl(CGI)scripts to work, Im very new to Perl and CGI. When I run the following code in a browser it shows the code and not just "Hello world!" as it should. Im running WinXP and I am using VQServer. I dont believe it is a problem with finding the interpreter because the exact same thing happens when I go to my other partition on my HD and try to run it on Linux 8.0. #!/perl/bin/perl.exe print "Content-type:text/html\n\n"; print <<EndOfHTML; <html><head><title>Test Page</title></head> <body> <h2>Hello, world!</h2> </body></html> EndOfHTML Any help is appreciated Phill. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]