http://www.perlmonks.org?node_id=1050154


in reply to does your cpan client disable sitecustomize.pl ? PERL5OPT? be careful

If you override builtins globally, I would expect at least the tests of the test suite failing for modules that don't expect the modified version of the builtin.

Also, $ENV{PERL5OPT} might be necessary for "your Perl" to run in a meaningful way, so disabling/eliminating PERL5OPT is not a good solution for a CPAN client either.

I suggest not overriding builtins globally in your perl. Maybe have an alias for the interactive Perl, like myperl, which sets up PERL5OPT and then runs/execs perl.

Replies are listed 'Best First'.
Re^2: does your cpan client disable sitecustomize.pl ? PERL5OPT? be careful
by Anonymous Monk on Aug 20, 2013 at 09:11 UTC

    Also, $ENV{PERL5OPT} might be necessary for "your Perl" to run in a meaningful way

    Aside from changing @INC what could be necessary? All the other perlrun options could break any/every/test/Makefile.PL

    Maybe have an alias for the interactive Perl

    You must be wearing two thinking caps :)

    Thanks