it’s a local::lib limitation.

http://search.cpan.org/~apeiron/local-lib-1.003003/lib/local/lib.pm#LIMITATIONS> Kills any existing PERL5LIB, PERL_MM_OPT or MODULEBUILDRC. «

You can add “:$PERL5LIB” after the PERL5LIB line which local::lib makes.

export PERL5LIB="/Users/danjou/perl5/lib/perl5:/Users/danjou/perl5/lib/perl5/darwin-2level:$PERL5LIB"