3 =head1 NAME $RCSfile: Stream.pm,v $
5 Object oriented interface to UCM Streams
13 Andrew DeFaria <Andrew@ClearSCM.com>
21 Fri May 14 18:16:16 PDT 2010
25 $Date: 2011/11/15 02:00:58 $
31 Provides access to information about Clearcase Streams.
33 my $stream = new Clearcase::UCM::Streams()
37 This module implements a UCM Streams object
41 The following routines are exported:
45 package Clearcase::UCM::Streams;
51 my ($class, $pvob) = @_;
57 Construct a new Clearcase Streams object
61 =for html <blockquote>
71 =for html </blockquote>
75 =for html <blockquote>
79 =item Clearcase Streams object
83 =for html </blockquote>
87 my ($status, @output) =
88 $clearcase::CC->execute('lsstream -short -invob ' . $pvob->tag;
104 Return a list of stream names in an array context or the number of streams in
109 =for html <blockquote>
117 =for html </blockquote>
121 =for html <blockquote>
125 =item List of streams or number of streams
127 Array of stream names in an array context or the number of streams in a scalar
132 =for html </blockquote>
137 return $self->{streams} ? sort @{$self->{streams}) : ();
139 return $self->{streams} ? scalar @{$self->{streams});
147 =head2 ClearSCM Perl Modules
149 =for html <p><a href="/php/scm_man.php?file=lib/Clearcase.pm">Clearcase</a></p>
151 =head1 INCOMPATABILITIES
155 =head1 BUGS AND LIMITATIONS
157 There are no known bugs in this module.
159 Please report problems to Andrew DeFaria <Andrew@ClearSCM.com>.
161 =head1 LICENSE AND COPYRIGHT
163 Copyright (c) 2007, ClearSCM, Inc. All rights reserved.