Premature Ending of script headers



I think you guys may be tired of this question.But I don't really know
how to solve it.

#!/usr/bin/perl
print "Context-type: text/html\n\n";
print "Hello EveryOne";

--------------------------------------
Even this sample doesn't work. The perl directory is right.
I typed in vi, so I don't think there are any extra characters.
The output under the command window is good.
Anyone has ideas about this question?

.



Relevant Pages

  • Re: Getting attributes(I think) from XMLReader
    ... I have the following XML segment: ... > But it returns "Nothing" in the Command window. ... Prev by Date: ...
    (microsoft.public.dotnet.xml)
  • Re: Environment variables in batch files?
    ... >Why is it that I can set an environment variable in a logon batch file but ... >when I type 'Set' in a command window I don't see my environment variable in ... SETENV.EXE is a freeware replacement for SETX.EXE, and it has more functionality. ... Prev by Date: ...
    (microsoft.public.windows.server.scripting)
  • Re: Weird Activation Error preventing Login
    ... try booting into safe mode and typing the following from a ... Prev by Date: ...
    (microsoft.public.windows.server.general)
  • Command prompt
    ... Say I type ping yahhoo.com the whole ... command window closes? ... JKA ... Prev by Date: ...
    (microsoft.public.windowsxp.general)
  • Re: cut -c18-31,49-51 in perl?
    ... jgraber@xxxxxx schreef: ... > doesnt work because extra characters at end of line ... "Gewoon is een tijger." ... Prev by Date: ...
    (comp.lang.perl.misc)