Subject: | . in @INC fix not working |
Show quoted text
> perl-5.26.0-RC1/dist/Time-HiRes$ ../../perl -I../../lib Makefile.PL
Configuring Time::HiRes...
Using hints hints/linux.pl...
do "hints/linux.pl" failed, '.' is no longer in @INC; did you mean do "./hints/linux.pl"? at Makefile.PL line 424.
...
https://perl5.git.perl.org/perl.git/blobdiff/3cf6d6323b374dd6f32717ffa188a6ed9aa3f2d3..8b69401c2ba8d1ced2e17c24d6b51a7ce3882664:/dist/Time-HiRes/Makefile.PL attempted to re-add . but this fails as File::Spec(::Unix) will ignore the '.'
Show quoted text> ./perl -I ./lib -MFile::Spec -E'say File::Spec->catfile( ".","hints","$^O" );'
hints/linux
I don't know if this is a bug or a feature in File::Spec(::Unix) - I suspect the latter.
perl -V:
Show quoted text> ../../perl -V -I ../../lib | head -n50
Summary of my perl5 (revision 5 version 26 subversion 0) configuration:
Platform:
osname=linux
osvers=3.13.0-105-generic
archname=x86_64-linux
uname='linux givengaindev 3.13.0-105-generic #152-ubuntu smp fri dec 2 15:37:11 utc 2016 x86_64 x86_64 x86_64 gnulinux '
config_args='-Dprefix=/opt/tools -Dotherlibdirs=/opt/tools/testing/lib -d -A ccflags=-fPIC'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef