Bug#869653: Local path for modules not included any more
Karsten
debian at decotrain.de
Tue Jul 25 11:10:16 UTC 2017
Package: perl
Version: 5.24.1-3+deb9u1
Severity: normal
Hello,
suddenly my perl scripts will not find modules in the local path anymore.
Is this a bug or a new feature?
Error message:
Can't locate mymodule.pm in @INC (you may need to install the haarpconfig module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base) at ./myscript.pl line 61.
BEGIN failed--compilation aborted at ./myscript.pl line 61.
Now for every script that uses modules in the local path the path have to be defined like:
use lib "/path/to/local/modules"; # http://perldoc.perl.org/perlrun.html#ENVIRONMENT
Regards
Karsten
-- System Information:
Debian Release: 9.1
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages perl depends on:
ii dpkg 1.18.24
ii libperl5.24 5.24.1-3+deb9u1
ii perl-base 5.24.1-3+deb9u1
ii perl-modules-5.24 5.24.1-3+deb9u1
Versions of packages perl recommends:
ii netbase 5.4
ii rename 0.20-4
Versions of packages perl suggests:
pn libterm-readline-gnu-perl | libterm-readline-perl-perl <none>
ii make 4.1-9.1
pn perl-doc <none>
-- no debconf information
More information about the Perl-maintainers
mailing list