Why not use '.' print "WHOOT" if -e "./ThisDir" and -d _;
the -d _ uses the cached results from the last stat, in this case the -e "./ThisDir". Peter C. -----Original Message----- From: Chris [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 8:46 PM To: [EMAIL PROTECTED] Subject: 2 simple questions - update: On the path issue: What I need to do is to verify if a specific directory exists in the current directory: if exists($PWD/ThisDir) then print "WH00T" End If Type statement... TIA Chris Anderson -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]