|
|
| XP is just a number | |
| PerlMonks |
File Existence using "-e" not always workingby IL_bullfinch (Initiate) |
| on Mar 27, 2014 at 15:47 UTC ( [id://1079947]=perlquestion: print w/replies, xml ) | Need Help?? |
|
IL_bullfinch has asked for the wisdom of the Perl Monks concerning the following question:
Problem description:
In some cases, the result of Scenario 1 is $is_file_exists=0 while the actually file exists. Workaround description: Before using "-e" command, using system command: "cat <file>". When calling "-e" command after "cat" the "-e" works as expected. I use the "cat" as a workaround, I can't use it in the entire code. Does someone faced such a problem and found solution? Do you think this problem is related to the Perl or to the native platform or to the NetApp environment?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||