Bug#869653: Local path for modules not included any more

Karsten debian at decotrain.de
Tue Jul 25 12:50:29 UTC 2017


Thanks for your quick reaction Dominic!

Am 25.07.2017 um 14:28 schrieb Dominic Hargreaves:
> Hi,
> I suspect you are talking about a change in behaviour in perl from
> jessie to stretch (Debian 8 to Debian 9) which was documented here.

Yes - correct.

>
> https://www.debian.org/releases/stretch/amd64/release-notes/ch-information.en.html#perl
>
> (the second point in that list). In other words, this probably isn't a
> bug.

No - it isn't a bug. It can be closed.

I googled for such a reason but couldn't find it.
Perl was downwards compatible for such a long time that i could not believe it. ;-)

Here is the description if some other users will run into the same trap.

https://metacpan.org/changes/release/XSAWYERX/perl-5.26.0#Removal-of-the-current-directory-(%22.%22)-from- at INC

5.3.7. Perl changes that may break third-party softwareThe current working directory (|.|) has been removed from the
default list of include directories, |@INC|. This may affect usage of |require()|, |do()|, etc., where the arguments are
files in the current directory.

> However, if you believe that this happened between 5.24.1-3 and
> 5.24.1-3+deb9u1, please let us know together with an example script
> which used to work and now doesn't.

The reason for the problem is clear now.

Regards
Karsten

>
> Thanks,
> Dominic.




More information about the Perl-maintainers mailing list