RT#76661: work properly in a taintperl environment
authorKaren Etheridge <ether@cpan.org>
Tue, 10 Sep 2013 23:00:30 +0000 (16:00 -0700)
committerKaren Etheridge <ether@cpan.org>
Tue, 10 Sep 2013 23:37:47 +0000 (16:37 -0700)
commit24351831cd9bba6bc993566324483b05bbd5d52c
tree34e787bc036cd3ae8e4759d5453a19c38a337ee0
parent788ea14692f083128b280e85ec9df2b9108b9272
RT#76661: work properly in a taintperl environment

active_paths() now checks each entry in PERL_LOCAL_LIB_ROOT against @INC to be
sure that everything in PERL5LIB really did make it into @INC (taintperl
doesn't add to @INC automatically), so using perl -T -Mlocal::lib=dir
actually adds dir to @INC in all cases.
Changes
lib/local/lib.pm
t/taint-mode.t [new file with mode: 0644]