Perl and IIS 8.5 pathing issue

Posted by helectrikal on 2017-04-19 03:42

I have set up Perl 32 bit on IIS 8.5 (Windows Server 2012 R2; I have the same issue with 64 bit Perl). I have a Perl script that includes "use lib '/path';" statements to reference other Perl libraries contained within the web site. Notice that I am using forward slashes here. When I browse the script, I get the following error message: Can't locate in @INC (@INC contains: ).

This script works perfectly on IIS 8 (Windows Server 2012). It seems as though either Windows, IIS 8.5, or Perl cannot understand the paths with forward slashes.

Has anybody come across this issue?

Thanks!

grahams
ActiveState Staff
Thu, 2017-04-20 11:25

Is @INC really empty, or are you just supressing the actual values reported?