in reply to Using the P4 module through Apache
The perforce client inherits a lot of stuff (such as the username) from the shell's environment. When you run something in apache, you probably need to set those environment variables first. You can do that by just:
and so on. Also, I think you can set those things explicitly on the $p4 object before you ->Login().$ENV{P4USER} = 'foo';
------------ :Wq Not an editor command: Wq
|
---|
In Section
Seekers of Perl Wisdom