i-robot has asked for the wisdom of the Perl Monks concerning the following question:
The following code does work:#!G:\Perl\bin\perl.exe -w use strict; print "$ENV{SERVER_PROTOCOL} 200 OK\n"; print "Server: $ENV{SERVER_SOFTWARE}\n"; print "Content-type: text/plain\n\n"; print "test ok!"
Why???#!G:\Perl\bin\perl.exe -w use strict; print "Content-type: text/plain\n\n"; print "test ok!" print "$ENV{SERVER_PROTOCOL} 200 OK\n"; print "Server: $ENV{SERVER_SOFTWARE}\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTTP header
by ptum (Priest) on May 26, 2006 at 14:21 UTC | |
|
Re: HTTP header
by gellyfish (Monsignor) on May 26, 2006 at 14:27 UTC | |
|
Re: HTTP header
by Herkum (Parson) on May 26, 2006 at 14:24 UTC |