GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  VCP::REVS (3)

.ds Aq ’

NAME

VCP::Revs - A collection of VCP::Rev objects.

CONTENTS

SYNOPSIS

DESCRIPTION

Right now, all revs are kept in memory, but we will enable storing them to disk and recovering them at some point so that we don’t gobble huge tracts of RAM.

METHODS

new
add


   $revs->add( $rev ) ;
   $revs->add( $rev1, $rev2, ... ) ;



Adds a revision or revisions to the collection.

The ( name, rev_id, branch_id ) tuple must be unique, if a second rev is add()ed with the same values, an exception is thrown.

get


   $rev = $revs->get( $id ) ;  ## return the rev with a given ID (or die())



foreach


   $revs->foreach( sub { ... } );



Apply a subroutine to each revision.

SUBCLASSING

This class uses the fields pragma, so you’ll need to use base and possibly fields in any subclasses.

COPYRIGHT

Copyright 2000, Perforce Software, Inc. All Rights Reserved.

This module and the VCP package are licensed according to the terms given in the file LICENSE accompanying this distribution, a copy of which is included in vcp.

AUTHOR

Barrie Slaymaker <barries@slaysys.com>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 VCP::REVS (3) 2004-11-04

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.