Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Using the P4 module through Apache

by etcshadow (Priest)
on Jun 30, 2005 at 18:54 UTC ( #471423=note: print w/replies, xml ) Need Help??

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:
$ENV{P4USER} = 'foo';
and so on. Also, I think you can set those things explicitly on the $p4 object before you ->Login().
------------ :Wq Not an editor command: Wq

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://471423]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2017-03-25 10:19 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (311 votes). Check out past polls.