I am setting up Perl on a new server, Winserver 2008, IIS7.0
Got most everything working fine, but in moving existing code over from another server, it won't work because the new server thinks file references are all from the website root, rather than from the directory the code is executing from.
On the server, the website is located at C:/abc
I have a piece of code in directory C:/abc/def, using this code:
It is trying to read file.txt from C:/abc/data, instead of c:/abc/def/data
Why won't it use the addressing relative to where the code is executing? It worked fine on the previous server. Is there some configuration item I missed in IIS or in setting up ActivePerl?