in reply to Re: Using the P4 module through Apache
in thread Using the P4 module through Apache
use P4; open OUTFILE, ">.\\Testing.txt"; my $p4 = new P4; $p4->SetClient( "my-client" ); $p4->SetPort ( "Perforce01:xxxx" ); $p4->SetPassword( "my-password" ); $p4->Init() or die( "Failed to connect to Perforce Server" ); $p4->Login(); my $command = "describe"; my @options; push @options, "-s", "577536"; my @info = $p4->Run( $command, @options ); my @errors = $p4->Errors(); $p4->Disconnect(); foreach my $line (@info) { print OUTFILE $line; } print OUTFILE "Test"; close OUTFILE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using the P4 module through Apache
by sk (Curate) on Jun 30, 2005 at 15:10 UTC |