Clearcase

 view release on metacpan or  search on metacpan

lib/Clearcase/UCM/Project.pm  view on Meta::CPAN


sub exists() {
  my ($self) = @_;

=pod

=head3 exists

Returns true if the project exists - false otherwise

Parameters:

=for html <blockquote>

=over

=item none

=back

=for html </blockquote>

Returns:

=for html <blockquote>

=over

=item boolean

=back 

=for html </blockquote>

=cut

  my ($status, @output) = $Clearcase::CC->execute (
    'lsproject ' . $self->{name} . '@' . $self->{pvob}->name);

  return !$status;
}    # exists

1;

=head1 DEPENDENCIES

=head2 Modules

=over

=item L<Clearcase|Clearcase>

=item L<Clearcase::UCM::Folder|Clearcase::UCM::Folder>

=back

=head1 INCOMPATABILITIES

None

=head1 BUGS AND LIMITATIONS

There are no known bugs in this module.

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

=head1 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.

=cut



( run in 0.782 second using v1.01-cache-2.11-cpan-39bf76dae61 )