require "/usr/lib/perl5/5.18.2/x86_64-linux-thread-multi/Digest/SHA.pm
+";
in a BEGIN block, the error in the apache log changes to:
Can't locate Fcntl.pm: Permission denied at /usr/lib/perl5/5.18.2/x
+86_64-linux-thread-multi/Digest/SHA.pm line 7.
If I also add an explicit
use lib '/usr/lib/perl5/5.18.2/x86_64-linux-thread-multi/'
It ends up with:
Can't locate integer.pm: Permission denied at /usr/lib/perl5/5.18.2/
+x86_64-linux-thread-multi/Digest/SHA.pm line 8
With this BEGIN block:
BEGIN {
foreach (@INC) { use lib $_; }
}
which I think should be pretty much a noop (I also tried with reverse @inc, same result) I end up with:
Can't locate Carp.pm: Permission denied at /usr/lib/perl5/5.18.2/x86
+_64-linux-thread-multi/lib.pm line 25
And of course Carp.pm is there
|