Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: does your cpan client disable sitecustomize.pl ? PERL5OPT? be careful

by Corion (Pope)
on Aug 20, 2013 at 09:02 UTC ( #1050154=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: does your cpan client disable sitecustomize.pl ? PERL5OPT? be careful
Select or Download Code
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050154]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2015-07-31 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls