Skip Menu |
 

This queue is for tickets about the perl5lib CPAN distribution.

Report information
The Basics
Id: 43447
Status: new
Priority: 0/
Queue: perl5lib

People
Owner: Nobody in particular
Requestors: scop [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.02
Fixed in: (no value)



Subject: Avoid undefinedness warnings
Download (untitled) / with headers
text/plain 366b
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} : '';


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.