為什么Perl找不到ClearCase中的文件?這段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上。這段代碼返回的是一個文件存在,而另一個文件在同一視圖上的同一文件夾中時不存在。
3 回答
繁星coding
TA貢獻1797條經驗 獲得超4個贊
ClearCase將其“文件”存儲為目錄
$ ct ls myFile $ ct descr -l myFile myFile@@/main/3
$ cd myFile@@ $ ls main $ cd main $ ls3$ cat 3... // content of third version of myFile
瀟湘沐
TA貢獻1816條經驗 獲得超6個贊
慕容3067478
TA貢獻1773條經驗 獲得超3個贊
/foo/bar@@/main/1/baz.txt@@/main/3
添加回答
舉報
0/150
提交
取消
