P4::C4 - CVS Like wrapper for Perforce


P4-C4 documentation Contained in the P4-C4 distribution.

Index


Code Index:

NAME

Top

P4::C4 - CVS Like wrapper for Perforce

SYNOPSIS

Top

  use P4::C4;

DESCRIPTION

Top

P4::C4 is a derived class of C4::Client. The various P4::C4::... classes add member functions to this class to perform various functions.

FUNCTIONS

Top

$self->files

Return a hash of file structures, where the key is the name of the file. Used by P4::C4::Files and other functions.

DISTRIBUTION

Top

The latest version is available from CPAN and from http://www.veripool.com/.

Copyright 2002-2005 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License or the Perl Artistic License.

AUTHORS

Top

Wilson Snyder <wsnyder@wsnyder.org>

SEE ALSO

Top

c4, p4, p4_job_edit

P4::Client, P4::Getopt,

P4::C4::UI, P4::C4::Cache, P4::C4::Client, P4::C4::Diff, P4::C4::File, P4::C4::Fstat, P4::C4::Ignore, P4::C4::Info, P4::C4::Path, P4::C4::Submit, P4::C4::Sync, P4::C4::Update, P4::C4::User


P4-C4 documentation Contained in the P4-C4 distribution.

# VHier.pm -- Test running utilities
# $Revision: 709 $$Date: 2005-05-03 17:32:07 -0400 (Tue, 03 May 2005) $$Author: wsnyder $
######################################################################
#
# Copyright 2002-2005 by Wilson Snyder.  This program is free software;
# you can redistribute it and/or modify it under the terms of either the GNU
# General Public License or the Perl Artistic License.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
######################################################################

package P4::C4;
require 5.006_001;
use File::Find;

use Carp;
use P4::Client;
# Our stuff
use P4::Getopt;
use P4::C4::Cache;
use P4::C4::ChangeMax;
use P4::C4::Client;
use P4::C4::Diff;
use P4::C4::File;
use P4::C4::Fstat;
use P4::C4::Ignore;
use P4::C4::Info;
use P4::C4::Path;
use P4::C4::Submit;
use P4::C4::Sync;
use P4::C4::UI;
use P4::C4::Unknown;
use P4::C4::Update;
use P4::C4::User;

use strict;
use vars qw($Debug);

our @ISA = qw (P4::Client);

######################################################################
#### Configuration Section

our $VERSION = '2.041';

######################################################################
#### Creators

sub new {
    my $class = shift;
    my %params = (_files=>{},
		  @_);
    my $self = new P4::Client;
    bless ($self, $class);

    while ((my $key,my $val) = each %params) {
	$self->{$key} = $val;
    }
    if ($self->{opt}) {
	$self->{opt}->setClientOpt($self);
    }
    return $self;
}

######################################################################
#### Accessors

sub files {
    return $_[0]->{_files};
}

######################################################################
#### Package return
1;
######################################################################