RE: [cciug] ?ccperl directory file

From: Jay Parangalan (jparangalan@siebel.com)
Date: Wed Jul 11 2001 - 15:04:16 EDT


if(-f $CLEARCASE_PN){
        # it's a file
}elsif(-d $CLEARCASE_PN){
        # it's a directory
}else{
        # it's invalid, or inaccessible from your current directory
(unlikely)
}

--Jay C. Parangalan, mailto:jparangalan@siebel.com, ext.16266

-----Original Message-----
From: chunbo shao [mailto:chunbo.shao@sabre.com
Sent: Wednesday, July 11, 2001 11:44 AM
To: cciug@rational.com
Subject: [cciug] ?ccperl directory file

Hi,

Using ccperl, how can i tell a return from $CLEARCASE_PN is a directory
or a file? Any help is appreciated.

Chunbo

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 22:03:53 EDT