on my XAMPP installation i can execute localhost/cgi-bin/printenv.pl in my explorer. It run as its supposed to.
But now i put a file like
"test.pl" in there with following source:
- Code: Select all
#!"C:\xampp\perl\bin\perl.exe"
use strict;
print "i do use use strict stuff";
}
i get error 500 when i open this file.
commenting the 3. line "use strict" out with "#" makes my code work.
Thats strange, whats the problem ?