Hi,

I am trying to use the '-e' filetest operator and encountered some wired 
behavior.
I have a tar.gz file which is around 2.6 G and this is the code...Tar.gz file 
is in the same directory where script is executed.

unless (-e $file) {
print ("ERROR: $file does not exist\n");
exit(1);
}

This does not seem to work..I always get "File does not exist" message.
I also tried out with a small tar.gz file which is around 2K and that seems to 
work. so I am not sure if the usage of '-e' operator has limitation with file 
size.

Any help in this is appreciated.

Thanks,
Anu.


      

Reply via email to