Why can't Perl find my file that is in ClearCase?

后端 未结 2 1107
没有蜡笔的小新
没有蜡笔的小新 2020-11-22 14:19

This piece of Perl is telling me that a file in ClearCase doesn\'t exist when it does;

$x = \"PATH/TO/FILE\"
if (-e $x) {
   print \"This file exists on the          


        
2条回答
  •  忘了有多久
    2020-11-22 15:05

    Clearcase stores its 'files' as directories. You can cd into an file and get into the actual directory that it's using to store all of the revisions of a file; While the OS hooks usually work, perhaps this is causing Perl to not recognize some of the files.

提交回复
热议问题