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
VCP::Revs(3) User Contributed Perl Documentation VCP::Revs(3)

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

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.

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.

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

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.

Barrie Slaymaker <barries@slaysys.com>
2004-11-04 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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