NAME Vobs.pm

Object oriented interface to Clearcase VOBs

VERSION

Author

Andrew DeFaria <Andrew@DeFaria.com>

Revision

$Revision: 1.17 $

Created

Thu Dec 29 12:07:59 PST 2005

Modified

$Date: 2011/11/16 19:46:13 $

SYNOPSIS

Provides access to information about all Clearcase VOBs.

# Create VOBs object
my $vobs = new Clearcase::Vobs;

print "There are " . $vobs->vobs . " vobs to process" . "\n";

# Iterrate through the list of vobs
foreach ($vobs->vobs) {
  my $vob = new Clearcase::Vob $_;
  ...
} # foreach

# VOBs manipulation
print "Umounting all vobs" . "\n";

$vobs->umount;

print "Mounting all vobs" . "\n";

$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 (host)

Construct a new Clearcase Vobs object.

Parameters:

host

If host is specified then limit the vob list to only those vobs on that host. If host is not specified then all vobs are considered

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

DEPENDENCIES

Modules

Clearcase
Display
OSdep

BUGS AND LIMITATIONS

There are no known bugs in this module

Please report problems to Andrew DeFaria <Andrew@DeFaria.com>.

COPYRIGHT AND LICENSE

Copyright (C) 2020 by Andrew@DeFaria.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.38.0 or, at your option, any later version of Perl 5 you may have available.