Benne,
I just discovered a similar problem running a Perl CGI script which was started by a particular web server. The problem was that the SYSTEMROOT environment variable was not setup. On most NT systems, that should be C:\WINNT. I resolved the problem by putting this line at the beginning of my Perl script:
$ENV{"SYSTEMROOT"} = "C:\\WINNT";
I hope this works for you if you haven't already solved your problem.
Dave
I just discovered a similar problem running a Perl CGI script which was started by a particular web server. The problem was that the SYSTEMROOT environment variable was not setup. On most NT systems, that should be C:\WINNT. I resolved the problem by putting this line at the beginning of my Perl script:
$ENV{"SYSTEMROOT"} = "C:\\WINNT";
I hope this works for you if you haven't already solved your problem.
Dave