in reply to problem with cgi-pms under tomcat-env

The user and environment that apache runs under will depend on how it is configured. You could use Data::Dumper to print out %ENV and @INC. You should also be using:
use strict; use warnings;

Replies are listed 'Best First'.
Re^2: problem with cgi-pms under tomcat-env
by ppmss (Initiate) on Oct 16, 2008 at 09:02 UTC
    Thanks,

    setting $ENV{SYSTEMROOT}="C:\\WINDOWS";
    at the start of the CGI-script solves the problem.

    Peter