On Thu, 2004-05-20 at 10:20, PerlDiscuss - Perl Newsgroups and mailing
lists wrote:
> Does anyone know how to call a Clearcase setview from Perl, where you can
> change directories and move around the vob, and compile files?

I write the contents I wish to execute in a ClearCase setview -exec call
to a file using perl, then call system to cleartool setview -exec
filename view_name.  Actually, I use commmand pipes in perl now rather
than calling system so that if I wish to filter on potential errors I
can do that where it's not easy to do that with the output coming from a
system call or backticks.

  I do all kinds of ClearCase things with perl, but not via the
ClearCase CPAN module(s) such as what can be found at:

http://cpan.uwinnipeg.ca/search?query=clearcase&mode=dist

But I'll be looking into those as I find time.

Hope this helps,
Ken Wolcott



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to