这段 Perl 告诉我 ClearCase 中的文件不存在时;
$x = "PATH/TO/FILE"
if (-e $x) {
print "This file exists on the file system";
} else {
print "I can't see this file";
}
有没有人见过这个?
一些文件返回正常。把我难住了。
Clearcase 视图是动态的,托管在 unix 上。
当它们位于同一视图的同一文件夹中时,这段代码返回一个文件存在而另一个文件不存在。