Re: Inconsistent results from file test (-X) operators

2007-05-16 Thread John W. Krahn
R (Chandra) Chandrasekhar wrote: > Dear Folks, Hello, > I have encountered inconsistent behaviour with the file test (-X) > operators. I am using perl, v5.8.8 built for i486-linux-gnu-thread-multi > on a Kubuntu Feisty system. > > I show below my minimal test file: > > --- Minimal Test

Re: Inconsistent results from file test (-X) operators

2007-05-16 Thread Chas Owens
On 5/16/07, R (Chandra) Chandrasekhar <[EMAIL PROTECTED]> wrote: snip Can anyone please tell me why I get this inconsistent behaviour and how to overcome it? snip It is not inconsistent, you are using file names without the proper path. If a file or directory exists in the current directory wi

Inconsistent results from file test (-X) operators

2007-05-16 Thread R (Chandra) Chandrasekhar
Dear Folks, I have encountered inconsistent behaviour with the file test (-X) operators. I am using perl, v5.8.8 built for i486-linux-gnu-thread-multi on a Kubuntu Feisty system. I show below my minimal test file: --- Minimal Test File --- #!/usr/bin/perl -w use diagnostics;