in reply to Question on CGI-PERL

It seems you haven't configured your web server to execute the program, so it sends your program as a file. Read your webserver documentation on how to configure it to run CGI programs.

Replies are listed 'Best First'.
Re^2: Question on CGI-PERL
by siddheshsawant (Sexton) on Mar 03, 2010 at 20:13 UTC

    But can I keep my CGIU code in html folder itself???

      Of course you can. You just have to configure your webserver to allow it (assuming you have access/permission) just as Corion and almut reported. If you can't edit your webserver, you're out of luck. Unless you can drop CGIs in a specified dir for execution. That's a typical setup.