Hi All,
I have created a sample perl program in one of the unix environment as below
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<H1>Hello World</H1>";
When I execute it in unix, I get the below
Content-type: text/html
<H1>Hello World</H1>
However, when I execute it from a different server(Windows) using internet explorer
I get the additional line
#!/usr/bin/perl
being printed in it.
i.e.
I get the output
#!/usr/bin/perl
Content-type: text/html
<H1>Hello World</H1>
Note : Below is the command I used to run the perl program
http://userv1:6001/adminconsole/welcome.pl
Please help me on this.