I’ve read this and found the new 5.14.4 and 5.16.3 versions include these fixes. So I update to 5.16.3.
- Download ActivePerl-5.16.3.1603-MSWin32-x86-296746.msi.
- Uninstall the previous version.
- Install ActivePerl-5.16.3.1603-MSWin32-x86-296746.msi by default.
- Run cmd.exe
perl -v[enter]
You have “This is perl 5, version 16, subversion 3 (v5.16.3) blah-blah-blah”.Rewrite the first line of printenv.pl.
#!D:/programs/perl/bin/perl.exe —>> #!C:/perl/bin/perl.exe
Copy printenv.pl to your cgi-bin directory and check http://YourDomain.com/cgi-bin/printenv.pl.
If you have the ENV list, your installation is complete.
Delete printenv.pl.
That’s it.