NAME Vobs.pm 
Object oriented interface to Clearcase VOBs
VERSION
- Author
-
Andrew DeFaria <Andrew@ClearSCM.com>
- Revision
-
Revision 1.9
- Created
-
Thu Dec 29 12:07:59 PST 2005
- Modified
-
Modifed 2008/02/29 15:08:56
SYNOPSIS
Provides access to information about all Clearcase VOBs.
# Create VOBs object
my $vobs = new Clearcase::Vobs;
display "There are " . $vobs->vobs . " vobs to process";
# Iterrate through the list of vobs
foreach ($vobs->vobs) {
my $vob = new Clearcase::Vob $_;
...
} # foreach
# VOBs manipulation
display "Umounting all vobs";
$vobs->umount;
display "Mounting all vobs";
$vobs->mount;
DESCRIPTION
This module implements a Clearcase vobs object to deal with the lists of vobs in the current region.
ROUTINES
The following routines are exported:
new (tag)
Construct a new Clearcase Vobs object.
Parameters:
- none
Returns:
- Clearcase VOBs object
vobs
Return a list of VOB tags in an array context or the number of vobs in a scalar context.
Parameters:
- none
Returns:
- List of VOBs or number of VOBs
Array of VOB tags in an array context or the number of vobs in a scalar context.
mount
Mount all VOBs
Parameters:
- none
Returns:
- $status
Status from cleartool
- @output
Ouput from cleartool
umount
Unmounts all VOBs
Parameters:
- none
Returns:
- $status
Status from cleartool
- @output
Ouput from cleartool