in reply to strawberry perl on localhost windows
I agree with soonix, on windows 10 (I have Apache 2.2) the shebang line #!/usr/bin/perl gives the error you showed. Use either the full path (for example) #!C:/Perl64/bin/perl.exe or just #!perl. Also you need to print a http header in your test script.
poj#!perl use strict; use warnings; print "Content-type: text/plain\n\n"; print "Perl Version $^V $^X\n";
|
|---|