Bug#856504: perl: should skip @INC paths with unsufficient permission

gregor herrmann gregoa at debian.org
Wed Mar 1 18:56:57 UTC 2017


On Wed, 01 Mar 2017 19:45:08 +0100, Bill Allombert wrote:

> I think it would be more useful to skip
> /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/
> and proceed with the next directory, rather than fail.

(Niko and Dom know more about this but for a starter:)

This was a deliberate upstream change made in 2012 and released in
2013 with the 5.18 release:

https://metacpan.org/pod/release/RJBS/perl-5.18.0/pod/perldelta.pod#require-dies-for-unreadable-files

  require dies for unreadable files

  When require encounters an unreadable file, it now dies. It used to
  ignore the file and continue searching the directories in @INC
  [perl #113422].

The referenced upstream bug is
https://rt.perl.org/Public/Bug/Display.html?id=113422


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Red Hot Chili Peppers: transcending
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20170301/07ccc401/attachment.sig>


More information about the Perl-maintainers mailing list