Re: use filetest anomaly

"Matthew Persico" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel,gmane.comp.lang.perl.perl5.porters
Message-ID <[email protected]>
On Sun, Dec 28, 2008 at 3:01 PM, Matthew Persico
<[email protected]> wrote:
> I recall being bitten by this before but I am not sure to whom I reported it.
>
> I keep getting a bad result building DBD::Oracle because the
> Makefile.PL cannot find the sqlplus executable to get the client
> library version.
>
> Naturally, the sqlplus executable is on the PATH and very findable, so
> let me demonstrate the problem.
>

Ok, this is even weirder:

Perl   - 5.6.1
$  ls -la ~/foo
-r-xr-xr-x   1 persicom develop        0 Dec 28 21:15 /home/persicom/foo

Perl   - 5.6.1
$  perl -e 'if (-x "/home/persicom/foo"){print "got it\n"}else{print
"no got it\n"}'
got it

Perl   - 5.6.1
$  perl -e 'use filetest "access";if (-x "/home/persicom/foo"){print
"got it\n"}else{print "no got it\n"}'
got it

Perl   - 5.6.1
$ swap_perl -r /home/persicom/ 5.10.0
Warning: You are changing the Perl root location, not just the
version. Vaya con dios...
Swapping out Perl 5.6.1
Swapping in Perl 5.10.0

Perl   - 5.10.0
$ ls -la ~/foo
-r-xr-xr-x   1 persicom develop        0 Dec 28 21:15 /home/persicom/foo

Perl   - 5.10.0
$ perl -e 'if (-x "/home/persicom/foo"){print "got it\n"}else{print
"no got it\n"}'
got it

Perl   - 5.10.0
$  perl -e 'use filetest "access";if (-x "/home/persicom/foo"){print
"got it\n"}else{print "no got it\n"}'
no got it

HUH?? What is borken about filetest "access" in 5.10? Where should I
report this? Any particular person, group or just use perlbug?

-- 
Matthew O. Persico
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.