Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
# Everything seems to be working as desired until I#! perl -w use strict; use warnings; use Win32::OLE; use Win32::OLE::Variant; # for variant arrays my $ccSelection_Path = 0; # $ccSelection_ values from the WEB my $ccSelection_SubTreeRoot = 1; my $ccSelection_Directory = 2; my $ccSelection_AllInVOB = 3; my $ccSelection_AllVOBs = 4; # Connect to the top-level ClearCase object my $cc = Win32::OLE->new('ClearCase.Application') or die "Could not create Application object\n"; my $COQuery; $COQuery = $cc->CreateCheckedOutFileQuery; $COQuery->{PathArray} = ["cc_views/heller_int_view/Pre_Funding/CustomE +!"]; $COQuery->{User} = "heller"; $COQuery->{PathSelects} = $ccSelection_AllInVOB; my @CheckedOutFiles; @CheckedOutFiles = $COQuery->Apply(); #<--- the problem. my $count; $count = @CheckedOutFiles->Count();
2006-11-03 Retitled by planetscape, as per Monastery guidelines
Original title: 'Winderz - Using COM and OOP'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Having trouble running query in ClearCase OLE interface
by wjw (Priest) on Nov 02, 2006 at 03:39 UTC | |
|
Re: Having trouble running query in ClearCase OLE interface
by fenLisesi (Priest) on Nov 02, 2006 at 07:27 UTC | |
by Anonymous Monk on Nov 02, 2006 at 18:03 UTC | |
by chargrill (Parson) on Nov 02, 2006 at 19:55 UTC | |
by Anonymous Monk on Nov 03, 2006 at 19:56 UTC | |
by fenLisesi (Priest) on Nov 03, 2006 at 15:07 UTC |