Subject: | ExtUtils::Installed skips $Config{archname} subdirs for PERL5LIB dirs |
When PERL5LIB is "./toto", Perl adds ./toto and ./toto/$Config{archname}
to @INC.
But ExtUtils::Installed does not have the same behavior (only ./toto is
added) so .packlist (which are in $Config{archname}/auto) are not found.
Here is how to view the problem:
perl -MConfig -e 'map{mkdir$_}
"foo","foo/$Config{archname}","foo/$Config{archname}/auto"'
# Prints EU::I->{:private:}{LIBDIRS} to compare to @INC
PERL5LIB=./foo perl -MExtUtils::Installed -e 'print join(qq!\n!, q!#
@INC:!, @INC, q!# EU::Installed LIBDIRS:!,
@{ExtUtils::Installed->new()->{":private:"}{LIBDIRS}}, q!# EU::Installed
INC:!, @{ExtUtils::Installed->new()->{":private:"}{INC}}), qq!\n!'
perl -MConfig -e 'map(rmdir,
"foo/$Config{archname}/auto","foo/$Config{archname}", "foo")'