Subject: | Avoid undefinedness warnings |
I tried to add a comment to #43443 but I can't see it there and don't
know if it got through, so here's an updated version of the trick that
tries to avoid undefinedness warnings when perl5lib is loaded with
warnings enabled:
use lib map { /(.*)/ } split /$Config{path_sep}/ =>
defined($ENV{PERL5LIB}) ? $ENV{PERL5LIB} : defined($ENV{PERLLIB}) ?
$ENV{PERLLIB} : '';