in reply to Re: Problem with filetest -x _ on Win2k AS Perl build 626
in thread Problem with filetest -x _ on Win2k AS Perl build 626
Oops, I forgot to mention my version of Pod::Find - it is 0.21 and it came in the current distribution of Pod-Parser-1.18 on CPAN. The file Pod/Find.pm is dated 1-Sep-2000.
Is your version 0.12 much older? And is it POD or Pod?
Anyway, what is bugging me is that changing the order of evaluation of the 3 terms in the && expression can change the boolean result - this looks like a bug to me.
What happens if you change your
tounless($file =~ /\.(pod|pm|plx?)\z/i || (-f $file && -x _ && -T _))
- does it change the boolean result?unless($file =~ /\.(pod|pm|plx?)\z/i || (-f $file && -T _ && -x _ ))
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Problem with filetest -x _ on Win2k AS Perl build 626
by bikeNomad (Priest) on Jun 25, 2001 at 04:08 UTC |