Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Using the P4 module through Apache

by etcshadow (Priest)
on Jun 30, 2005 at 18:54 UTC ( [id://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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://471423]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-09-10 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.