当我尝试访问我的Perl脚本时,Windows上的Apache给出了以下错误:
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
End of script output before headers: sample.pl
If you think this is a server error, please contact the webmaster.
Error 500
localhost
Apache/2.4.4 (Win32) OpenSSL/1.0.1e PHP/5.5.3
Run Code Online (Sandbox Code Playgroud)
这是我的示例脚本
#!"C:\xampp\perl\bin\perl.exe"
print "Hello World";
Run Code Online (Sandbox Code Playgroud)
但不是在浏览器上工作