How can I interact with ClearCase from Perl?
Basically, ClearCase Perl scripting is based on parsed outputs of system and cleartool commands. The scripts are based on a cleartool run cmd like package CCCmd, and used like: use strict; use Config; require “path/to/CCCmd.pm”; sub Main { my $hostname = CCCmd::RunCmd(‘hostname’); chomp $hostname; my $lsview = CCCmd::ClearToolNoError(“lsview -l -pro -host $hostname”); return 1; } … Read more