No I have kept the vob names?
I don't need all the vobs.
i.e the reason i am reading from file.

Regards 
j@veed





-----Original Message-----
From: David Samuelsson (PAC) [mailto:David.Samuelsson@;pac.ericsson.se]
Sent: Monday, November 04, 2002 1:29 PM
To: Javeed SAR; [EMAIL PROTECTED]
Subject: RE: hard coded


looks to me like you are trying to read the voblist from clearcase? or is it
the labels that is in that VOB? why have you placed them in a text file? why
not read em out from the system directly? if you want to read the label
names you can just run it like this

my $vob = "vobname"
@labels = `cleartool lstype -s -kind lbtype -invob $vob` or die "cant run
lstype";
foreach $label (@labels){
print "$label\n";
}

regards David / ClearCase Admin

-----Original Message-----
From: Javeed SAR [mailto:SAR.Javeed@;sisl.co.in]
Sent: den 4 november 2002 06:12
To: [EMAIL PROTECTED]
Subject: hard coded


Hi all,

i am reading certain label names from  textfile stored in a particular
machine.
I am working on WIN2k.

For eg here i have kept it in machine blrk35ed.
This becomes hard coded, is there  any other way to read  label names,
because i dont' want to hard coded in my script.



open(FILE,"\\\\BLRK35ED\\LABEL\\comepr_voblist.txt"); 
@str = <FILE>;
close(FILE);
    foreach (@str){ 
    $out=`cleartool mount $_`;

Regards 
j@veed

Reply via email to